Data sources in Power BI Desktop - Power BI (2023)

  • Article
  • 9 minutes to read

With Power BI Desktop, you can connect to data from many different sources. For a full list of available data sources, see Power BI data sources.

To see available data sources, in the Home group of the Power BI Desktop ribbon, select the Get data button label or down arrow to open the Common data sources list. If the data source you want isn't listed under Common data sources, select More to open the Get Data dialog box.

Data sources in Power BI Desktop - Power BI (1)

Or, open the Get Data dialog box directly by selecting the Get Data icon itself.

Data sources in Power BI Desktop - Power BI (2)

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).

Data sources

The Get Data dialog box organizes data types in the following categories:

(Video) Making data source parameters easy in Power BI Desktop

  • All
  • File
  • Database
  • Power Platform
  • Azure
  • Online Services
  • Other

The All category includes all data connection types from all categories.

File data sources

The File category provides the following data connections:

  • Excel Workbook
  • Text/CSV
  • XML
  • JSON
  • Folder
  • PDF
  • Parquet
  • SharePoint folder

Database data sources

The Database category provides the following data connections:

  • SQL Server database
  • Access database
  • SQL Server Analysis Services database
  • Oracle database
  • IBM Db2 database
  • IBM Informix database (Beta)
  • IBM Netezza
  • MySQL database
  • PostgreSQL database
  • Sybase database
  • Teradata database
  • SAP HANA database
  • SAP Business Warehouse Application Server
  • SAP Business Warehouse Message Server
  • Amazon Redshift
  • Impala
  • Google BigQuery
  • Google BigQuery (Azure AD)(Beta)
  • Vertica
  • Snowflake
  • Essbase
  • Actian (Beta)
  • Amazon Athena
  • AtScale cubes
  • BI Connector
  • Data Virtuality LDW
  • Denodo
  • Dremio Software
  • Dremio Cloud (Beta)
  • Exasol
  • Indexima
  • InterSystems IRIS (Beta)
  • Jethro (Beta)
  • Kyligence
  • Linkar PICK Style / MultiValue Databases (Beta)
  • MariaDB
  • MarkLogic
  • TIBCO® Data Virtualization

Note

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 shouldn't be used in production environments.

Power Platform data sources

The Power Platform category provides the following data connections:

  • Power BI datasets
  • Datamarts (preview)
  • Power BI dataflows (Legacy)
  • Common Data Service (Legacy)
  • Dataverse
  • Dataflows

Azure data sources

The Azure category provides the following data connections:

  • Azure SQL Database
  • Azure Synapse Analytics SQL
  • Azure Analysis Services database
  • Azure Database for PostgreSQL
  • Azure Blob Storage
  • Azure Table Storage
  • Azure Cosmos DB v1
  • Azure Data Explorer (Kusto)
  • Azure Data Lake Storage Gen2
  • Azure Data Lake Storage Gen1
  • Azure HDInsight (HDFS)
  • Azure HDInsight Spark
  • HDInsight Interactive Query
  • Azure Cost Management
  • Azure Databricks
  • Azure Synapse Analytics workspace (Beta)
  • Azure Time Series Insights (Beta)

Online Services data sources

The Online Services category provides the following data connections:

  • SharePoint Online List
  • Microsoft Exchange Online
  • Dynamics 365 Online (legacy)
  • Dynamics 365 (Dataverse)
  • Dynamics NAV
  • Dynamics 365 Business Central
  • Dynamics 365 Business Central (on-premises)
  • Azure DevOps (Boards only)
  • Azure DevOps Server (Boards only)
  • Salesforce Objects
  • Salesforce Reports
  • Google Analytics
  • Adobe Analytics
  • appFigures (Beta)
  • Data.World - Get Dataset (Beta)
  • GitHub (Beta)
  • LinkedIn Sales Navigator (Beta)
  • Marketo (Beta)
  • Mixpanel (Beta)
  • Planview Enterprise One - PRM (Beta)
  • QuickBooks Online (Beta)
  • Smartsheet
  • SparkPost (Beta)
  • SweetIQ (Beta)
  • Planview Enterprise Architecture
  • Zendesk (Beta)
  • Asana (Beta)
  • Assemble Views
  • Automation Anywhere
  • Automy Data Analytics (Beta)
  • Dynamics 365 Customer Insights (Beta)
  • Databricks (Beta)
  • Digital Construction Works Insights (Beta)
  • Emigo Data Source
  • Entersoft Business Suite (Beta)
  • eWay-CRM
  • FactSet Analytics
  • Palantir Foundry
  • Funnel
  • Hexagon PPM Smart® API
  • Industrial App Store
  • Intune Data Warehouse (Beta)
  • Projectplace for Power BI
  • Product Insights (Beta)
  • Profisee (Beta)
  • Quickbase
  • SoftOne BI (Beta)
  • Spigit (Beta)
  • TeamDesk (Beta)
  • Webtrends Analytics (Beta)
  • Witivio (Beta)
  • Viva Insights
  • Zoho Creator

Other data sources

The Other category provides the following data connections:

  • Web
  • SharePoint list
  • OData Feed
  • Active Directory
  • Microsoft Exchange
  • Hadoop File (HDFS)
  • Spark
  • Hive LLAP
  • R script
  • Python script
  • ODBC
  • OLE DB
  • Acterys : Model Automation & Planning (Beta)
  • Amazon OpenSearch Service (Beta)
  • Anaplan Connector
  • Autodesk Construction Cloud (Beta)
  • Solver
  • BitSight Security Ratings
  • BQE Core
  • Bloomberg Data and Analytics
  • Cherwell (Beta)
  • Cognite Data Fusion
  • Delta Sharing
  • Eduframe (Beta)
  • EQuIS (Beta)
  • FactSet RMS (Beta)
  • FHIR
  • Google Sheets
  • Information Grid (Beta)
  • Jamf Pro (Beta)
  • Kognitwin
  • MicroStrategy for Power BI
  • OpenSearch Project (Beta)
  • Paxata
  • QubolePresto (Beta)
  • Roamler (Beta)
  • SIS-CC SDMX (Beta)
  • Shortcuts Business Insights (Beta)
  • SingleStore Direct Query Connector 1.0 (Beta)
  • Siteimprove
  • Socialbakers Metrics 1.1.0 (Beta)
  • Starburst Enterprise
  • SumTotal
  • SurveyMonkey (Beta)
  • Microsoft Teams Personal Analytics (Beta)
  • Tenforce (Smart)List
  • Usercube (Beta)
  • Vena
  • Vessel Insight
  • Zucchetti HR Infinity (Beta)
  • Blank Query

Note

At this time, it's not possible to connect to custom data sources secured using Azure Active Directory.

(Video) Power Bi Data Source Connection: How to change Data source setting in Power bi

Template apps

You can find template apps for your organization by selecting the Template Apps link near the bottom of the Get Data window.

Data sources in Power BI Desktop - Power BI (3)

Available Template Apps may vary based on your organization.

Connect to a data source

  1. To connect to a data source, select the data source from the Get Data window and select Connect. The following screenshot shows Web selected from the Other data connection category.

    Data sources in Power BI Desktop - Power BI (4)

  2. A connection window appears. Enter the URL or resource connection information, and then select OK. The following screenshot shows a URL entered in the From Web connection dialog box.

    Data sources in Power BI Desktop - Power BI (5)

  3. Depending on the data connection, you might be prompted to provide credentials or other information. After you provide all required information, Power BI Desktop connects to the data source and presents the available data sources in the Navigator dialog box.

    Data sources in Power BI Desktop - Power BI (6)

    (Video) Power BI Data Sources

  4. Select the tables and other data that you want to load. 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.

Use PBIDS files to get data

PBIDS files are Power BI Desktop files that have a specific structure and a .PBIDS extension to identify them as Power BI data source files.

You can create a PBIDS file to streamline the Get Data experience for new or beginner report creators in your organization. If you create the PBIDS file from existing reports, it's easier for beginning report authors to build new reports from the same data.

When an author opens a PBIDS file, Power BI Desktop prompts the user for credentials to authenticate and connect to the data source that the file specifies. The Navigator 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) and connection mode 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.

How to create a PBIDS connection file

If you have an existing Power BI Desktop PBIX file that's already connected to the data you’re interested in, you can export these connection files from within Power BI Desktop. This method is recommended, since the PBIDS file can be auto-generated from Desktop. You can also still edit or manually create the file in a text editor.

  1. To create the PBIDS file, select File > Options and settings > Data source settings.

    Data sources in Power BI Desktop - Power BI (7)

  2. In the dialog that appears, select the data source you want to export as a PBIDS file, and then select Export PBIDS.

    (Video) Power BI Desktop Tips and Tricks (14/100) - Change Data source

    Data sources in Power BI Desktop - Power BI (8)

  3. In the Save As dialog box, give the file a name, and select Save. Power BI Desktop generates the PBIDS file, which you can rename and save in your directory, and share with others.

You can also open the file in a text editor, and modify the file further, including specifying the mode of connection in the file itself. The following image shows a PBIDS file open in a text editor.

Data sources in Power BI Desktop - Power BI (9)

If you prefer to manually create your PBIDS files in a text editor, you must specify the required inputs for a single connection and save the file with the .PBIDS extension. Optionally, you can also specify the connection mode as either DirectQuery or Import. If mode is missing or null in the file, the user who opens the file in Power BI Desktop is prompted to select DirectQuery or Import.

Important

Some data sources will generate an error if columns are encrypted in the data source. For example, if two or more columns in an Azure SQL Database are encrypted during an Import action, an error will be returned. For more information, see SQL Database.

PBIDS file examples

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 the following exceptions: Wiki URLS, 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 git Data Source Reference (DSR) format for protocol and address information.

(Video) How to Connect Multiple Data Sources in Power BI

If you're editing or manually creating the connection files, these examples are for convenience only, aren't meant to be comprehensive, and don't include all supported connectors in DSR format.

Azure AS

{ "version": "0.1", "connections": [ { "details": { "protocol": "analysis-services", "address": { "server": "server-here" }, } } ] }

Folder

{ "version": "0.1", "connections": [ { "details": { "protocol": "folder", "address": { "path": "folder-path-here" } } } ] } 

OData

{ "version": "0.1", "connections": [ { "details": { "protocol": "odata", "address": { "url": "URL-here" } } } ] } 

SAP BW

{ "version": "0.1", "connections": [ { "details": { "protocol": "sap-bw-olap", "address": { "server": "server-name-here", "systemNumber": "system-number-here", "clientId": "client-id-here" }, } } ] } 

SAP Hana

{ "version": "0.1", "connections": [ { "details": { "protocol": "sap-hana-sql", "address": { "server": "server-name-here:port-here" }, } } ] } 

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.

{ "version": "0.1", "connections": [ { "details": { "protocol": "sharepoint-list", "address": { "url": "URL-here" }, } } ] } 

SQL Server

{   "version": "0.1",   "connections": [     {       "details": {         "protocol": "tds",         "address": {           "server": "server-name-here",           "database": "db-name-here (optional) "        }       },       "options": {},       "mode": "DirectQuery"     }   ] } 

Text file

{ "version": "0.1", "connections": [ { "details": { "protocol": "file", "address": { "path": "path-here" } } } ] } 

Web

{ "version": "0.1", "connections": [ { "details": { "protocol": "http", "address": { "url": "URL-here" } } } ] } 

Dataflow

{ "version": "0.1", "connections": [ { "details": { "protocol": "powerbi-dataflows", "address": { "workspace":"workspace id (Guid)", "dataflow":"optional dataflow id (Guid)", "entity":"optional entity name" } } } ]}

Next steps

You can do all sorts of things with Power BI Desktop. For more information on its capabilities, check out the following resources:

  • What is Power BI Desktop?
  • Query overview with Power BI Desktop
  • Data types in Power BI Desktop
  • Shape and combine data with Power BI Desktop
  • Common query tasks in Power BI Desktop

Videos

1. Power BI Tutorial (6/50) - How to connect various Data Sources
(Analytics with Nags)
2. Connect to data sources in Power BI Desktop
(Ledet Training)
3. Data source setting and Data Refresh setting in Power BI Desktop | Power BI tutorial |
(Edudream digital)
4. How to Replace Data Source in Microsoft Power BI| How to Change or Update Data Source in Power BI
(MsGeekChick)
5. Power BI Tutorial: 4 Ways To Get Data
(Guy in a Cube)
6. Connect to a web data source in Power BI | Get started with Power BI Desktop
(Data Science Tutorials)
Top Articles
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated: 09/13/2022

Views: 5680

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.