Skip to main content

Command Palette

Search for a command to run...

Power BI 101: Connect to data in Power BI Desktop

Updated
3 min read
Power BI 101: Connect to data in Power BI Desktop
M

Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).

In this article

  1. Prerequisites

  2. Launch Power BI Desktop

  3. Connect to data

  4. View data in the Fields pane

  5. Related content

In this quickstart, you connect to data using Power BI Desktop, which is the first step in building data models and creating reports.

Screenshot shows Power BI Desktop with the Retail Analysis sample loaded, displaying the Overview tab.

Prerequisites

To complete the steps in this article, you need the following resources:

Launch Power BI Desktop

Once you install Power BI Desktop, launch the application so it's running on your local computer. You're presented with a Power BI tutorial. Follow the tutorial or close the dialog to start with a blank canvas. The canvas is where you create visuals and reports from your data.

Screenshot shows Power BI Desktop with blank canvas.

Connect to data

With Power BI Desktop, you can connect to many different types of data. These sources include basic data sources, such as a Microsoft Excel file. You can connect to online services that contain all sorts of data, such as Salesforce, Microsoft Dynamics, Azure Blob Storage, and many more.

To connect to data, from the Home ribbon select Get data.

Screenshot shows the Home ribbon with Get data highlighted.

The Get Data window appears. You can choose from the many different data sources to which Power BI Desktop can connect. In this quickstart, use the Excel workbook that you have downloaded (Financial Sample.xlsx)

Screenshot shows the Get Data dialog with All and Excel selected.

Since this data source is an Excel file, select Excel from the Get Data window, then select the Connect button.

Power BI prompts you to provide the location of the Excel file to which to connect. The downloaded file is called Financial Sample. Select that file, and then select Open.

Screenshot shows a file selection dialog with Financial Sample selected.

Power BI Desktop then loads the workbook and reads its contents, and shows you the available data in the file using the Navigator window. In that window, you can choose which data you would like to load into Power BI Desktop. Select the tables by marking the checkboxes beside each table you want to import. Import both available tables.

Screenshot shows the Navigator window with both display options selected.

Once you've made your selections, select Load to import the data into Power BI Desktop.

View data in the Fields pane

Once you've loaded the tables, the Fields pane shows you the data. You can expand each table by selecting the arrow beside its name. In the following image, the financials table is expanded, showing each of its fields.

Screenshot shows Power BI Desktop with data loaded and the Financials field expanded.

And that's it! You've connected to data in Power BI Desktop, loaded that data, and now you can see all the available fields within those tables.

48 views