How to Connect and Clean Excel Data in Power BI Desktop: A Beginner’s Guide

Learn how to easily connect your Excel files to Power BI Desktop and fix common header issues using Power Query Editor. This beginner-friendly guide w

 


Hello learners,

In this tutorial, I am going to explain how to connect your Excel file into Power BI Desktop. In the previous videos, I have explained how to install Power BI Desktop on your Windows operating system. If you have any issues with that, you can watch that video. From this video tutorial, I will show you how to get your Excel data into Power BI Desktop. I have already opened Power BI Desktop. As I mentioned before, this is a free tool provided by Microsoft to develop dashboards and reports.

Method to Import Excel

  1. On the canvas, click the "Import data from Excel" button.
  2. In the Home menu, go to the Data tab and click Excel workbook.
  3. Click the "Get Data" dropdown, choose Excel workbook, or select More to open another window.
  4. In that window, under File, select Excel Workbook, and click Connect.

Selecting the File

Now, it will open the file explorer. Go to Documents, open the Power BI folder, and select your Excel file (e.g., "Sample data for dashboards and report development"). Click Open. It will take 5 to 10 seconds to load the data into Power BI.

How to Connect and Clean Excel Data in Power BI Desktop: A Beginner’s Guide

Navigator Window

In the Navigator window, you will see two checkboxes. These represent the two sheets in the Excel file. 

Let’s open the Excel file — you can see the sheets: Sales Data, Sheet1. Since I want to load only one sheets that is Sales Data sheet, I will select all of them and click the Load button.

How to Connect and Clean Excel Data in Power BI Desktop: A Beginner’s Guide

Transform Option

If you want to transform your data before loading it, click the Transform Data button. For this tutorial, I will directly load the data by clicking Load Data.

How to Connect and Clean Excel Data in Power BI Desktop: A Beginner’s Guide

Data Loaded

You can now see the sheet named Sales Data, Returns — under the Fields pane. Under Sales Data sheet, the available column names are listed. If you open the Excel file, the column headers match what you see in Power BI.

[Data Type Symbols]

Next to each field, you might see symbols:

  1. Sigma (∑) for numeric fields
  2. Calendar icon for date fields
  3. Blank icon for text fields
  4. These help identify data types quickly.
How to Connect and Clean Excel Data in Power BI Desktop: A Beginner’s Guide

Header Row Issue

In the People and Returns sheets, you might see columns named Column1, Column2, etc. — this is due to Power BI not recognizing the first row as headers.

This is a common issue when loading Excel files. I purposely created this to show you how to fix it.

Using Power Query Editor

To fix it:

  1. Click Transform Data at the bottom of the screen.
  2. This opens Power Query Editor.
  3. You will see sales Data sheet.
  4. For the Sales Data sheet:
  5. Click Use First Row as Headers.

You’ll notice a step added under Applied Steps: "Promoted Headers" and "Changed Type".

You can undo this by removing those steps if needed.

How to Connect and Clean Excel Data in Power BI Desktop: A Beginner’s Guide

Go to the Transform menu and select Use First Row as Headers.

It will rename columns correctly.

Finalizing Changes

Now go to the Home menu and click Close & Apply.

This will refresh the data and display correct column names under People and Returns sheets.

Conclusion

This is how you can connect your Excel file with Power BI Desktop. In the next post, I’ll show you how to connect other data sources like csv , sql server, web in Power BI Desktop.

Thank you!

Read Also :-
Labels : #Excel to Power BI ,#Power BI ,#Power BI Beginner ,#Power BI Desktop ,#Power BI Tutorial ,#Power Query ,
Getting Info...

Post a Comment