In this section, we show you how to connect Power BI to Excel Files and how to get data from Excel sheets. To demonstrate the Get Data from Excel, we will load records from an Excel file and generate a Donut chart.
Before we import data to Power BI, please check the sales By Country Excel file data. In our source, the First row has the Column names.
If you haven’t started the Power BI Desktop yet, double-click on the desktop to open it. Once it is open, it looks like the screenshot below. Please click on the Get Data hyperlink.
How to Get Data from Excel to Power BI
If you are on the visualization page, click the Get Data option under the Home tab and select Excel, as shown below. Or select More options.
When you select the More option, the Get Data window will show. You can use this window to select your desired Data source. To get data from Excel, select the File -> Excel Option and click the Connect button.
Once you click the Connect button, a new window opens to select the Excel File from our file system. For now, we are selecting the SalesByCountry.xls file.
Expanding the Excel folder inside the Navigator window displays the list of available sheets. Selecting the sheet or table shows the Data Preview, as you can see in the sheet preview. If you are satisfied with the Data and the data types, click the Load button. Otherwise, click the Edit button to make changes.
Currently, we don’t want to make any changes to the data. So, let me click on the Load button to get Data from Excel to Power BI. Please wait until the load is complete.
Now, you can see all the columns imported from the Excel file under the Fields section. Let me create a Donut chart using this data. I suggest you refer to the Donut Chart article to understand the steps involved in creating it. For more Charts >> Click Here.