Data Sources in Power Bi Desktop: Trainer Name: Jabivulla Vanalli Email: Mobile: +91 7829533577 Youtube Channel
Data Sources in Power Bi Desktop: Trainer Name: Jabivulla Vanalli Email: Mobile: +91 7829533577 Youtube Channel
Email: [email protected]
Mobile: +91 7829533577
YouTube Channel: https://www.youtube.com/channel/UCIUV3lP4RQEOqbY1funMH3w
You connect to data by using the Home ribbon. To show the Most Common data types
menu, select the Get Data button label or the down arrow.
To go to the Get Data dialog box, show the Most Common data types menu and
select More. You can also bring up the Get Data dialog box (and bypass the Most
Common menu) by selecting the Get Data icon directly.
Note
The Power BI team is continually expanding the data sources available to Power BI Desktop
and the Power BI service. As such, you'll often see early versions of work-in-progress data
sources marked as Beta or Preview. Any data source marked as Beta or Preview has limited
support and functionality, and it shouldn't be used in production environments.
Additionally, any data source marked as Beta or Preview for Power BI Desktop may not be
available for use in the Power BI service or other Microsoft services until the data source
becomes generally available (GA).
Note
There are many data connectors for Power BI Desktop that require Internet Explorer 10 (or
newer) for authentication.
Data sources
The Get Data dialog box organizes data types in the following categories:
All
File
Database
Power Platform
Azure
Online Services
Other
The All category includes all data connection types from all categories.
Excel
Text/CSV
XML
JSON
Folder
PDF
SharePoint folder
The following image shows the Get Data window for File.
Database data sources
Some database connectors require that you enable them by selecting File > Options and
settings > Options then selecting Preview Features and enabling the connector. If you don't
see some of the connectors mentioned above and want to use them, check your Preview
Features settings. Also note that any data source marked as Beta or Preview has limited
support and functionality, and should not be used in production environments.
The following image shows the Get Data window for Database.
Power Platform data sources
Power BI datasets
Power BI dataflows
Common Data Service
Power Platform dataflows
The following image shows the Get Data window for Power Platform.
Azure data sources
The following image shows the Get Data window for Azure.
The following image shows the Get Data window for Online Services.
Other data sources
Web
SharePoint list
OData Feed
Active Directory
Microsoft Exchange
Hadoop File (HDFS)
Spark
Hive LLAP (Beta)
R script
Python script
ODBC
OLE DB
Solver
Cognite Data Fusion (Beta)
FHIR
Information Grid (Beta)
Jamf Pro (Beta)
MicroStrategy for Power BI
Paxata
QubolePresto (Beta)
Roamler (Beta)
Shortcuts Business Insights (Beta)
Siteimprove
SurveyMonkey (Beta)
Tenforce (Smart)List
TIBCO(R) Data Virtualization (Beta)
Vena (Beta)
Workforce Dimensions (Beta)
Zucchetti HR Infinity (Beta)
Blank Query
The following image shows the Get Data window for Other.
Note
At this time, it's not possible to connect to custom data sources secured using Azure Active
Directory.
To connect to a data source, select the data source from the Get Data window and
select Connect. In the following image, Web is selected from the Other data connection
category.
A connection window is displayed, specific to the type of data connection. If credentials are
required, you’ll be prompted to provide them. The following image shows a URL being
entered to connect to a Web data source.
Enter the URL or resource connection information, and then select OK. Power BI Desktop
makes the connection to the data source, and it presents the available data sources in
the Navigator.
To load the data, select the Load button at the bottom of the Navigator pane. To transform
or edit the query in Power Query Editor before loading the data, select the Transform
Data button.
That’s all there is to connecting to data sources in Power BI Desktop! Try connecting to data
from our growing list of data sources, and check back often - we continue to add to this list
all the time.
PBIDS files are Power BI Desktop files that have a specific structure, and they have a .PBIDS
extension to identify it is a Power BI data source file.
You can create a PBIDS file to streamline the Get Data experience for report creators in your
organization. To make it easier for a new report author to use PBIDS files, we recommend
that an administrator create these files for commonly used connections.
When an author opens a PBIDS file, Power BI Desktop opens and prompts the user for
credentials to authenticate and connect to the data source that's specified in the file.
The Navigation dialog box appears, and the user must select the tables from that data
source to load into the model. Users may also need to select the database(s) if none was
specified in the PBIDS file.
From that point forward, the user can begin building visualizations or select Recent
Sources to load a new set of tables into the model.
Currently, PBIDS files only support a single data source in one file. Specifying more than one
data source results in an error.
To create the PBIDS file, an administrator must specify the required inputs for a single
connection. They can also specify the connection mode as either DirectQuery or Import.
If mode is missing/null in the file, the user who opens the file in Power BI Desktop is
prompted to select DirectQuery or Import.
This section provides some examples from commonly used data sources. The PBIDS file type
only supports data connections that are also supported in Power BI Desktop, with two
exceptions: Live Connect and Blank Query.
The PBIDS file doesn't include authentication information and table and schema
information.
The following code snippets show several common examples for PBIDS files, but they aren't
complete or comprehensive. For other data sources, you can refer to the Data Source
Reference (DSR) format for protocol and address information.
These examples are for convenience only, aren't meant to be comprehensive, and don't
include all supported connectors in DSR format. An administrator or organization can create
their own data sources using these examples as guides, from which they can create and
support their own data source files.
Azure AS
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "analysis-services",
"address": {
"server": "server-here"
},
}
}
]
}
Folder
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "folder",
"address": {
"path": "folder-path-here"
}
}
}
]
}
OData
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "odata",
"address": {
"url": "URL-here"
}
}
}
]
}
SAP BW
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "sap-bw-olap",
"address": {
"server": "server-name-here",
"systemNumber": "system-number-here",
"clientId": "client-id-here"
},
}
}
]
}
SAP Hana
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "sap-hana-sql",
"address": {
"server": "server-name-here:port-here"
},
}
}
]
}
SharePoint list
The URL must point to the SharePoint site itself, not to a list within the site. Users get a
navigator that allows them to select one or more lists from that site, each of which becomes
a table in the model.
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "sharepoint-list",
"address": {
"url": "URL-here"
},
}
}
]
}
SQL Server
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "tds",
"address": {
"server": "server-name-here",
"database": "db-name-here (optional) "
}
},
"options": {},
"mode": "DirectQuery"
}
]
}
Text file
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "file",
"address": {
"path": "path-here"
}
}
}
]
}
Web
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "http",
"address": {
"url": "URL-here"
}
}
}
]
}
Dataflow
JSONCopy
{
"version": "0.1",
"connections": [
{
"details": {
"protocol": "powerbi-dataflows",
"address": {
"workspace":"workspace id (Guid)",
"dataflow":"optional dataflow id (Guid)",
"entity":"optional entity name"
}
}
}
]
}