How to Add Excel File in Power BI

Cody Schneider8 min read

Connecting an Excel file to Power BI is one of the most fundamental skills for anyone starting their data journey. It is often the first step in moving from static spreadsheets to dynamic, interactive reports. This guide will walk you through the primary methods for adding your Excel data, offer best practices to avoid common headaches, and explain how to keep your reports automatically updated.

Before You Begin: Why Move from Excel to Power BI?

You might be wondering, "Why not just use Excel dashboards?" While Excel is a fantastic tool, Power BI is built specifically for data visualization and business intelligence, offering several key advantages when connected to your spreadsheets:

  • Interactive Visuals: Power BI filters and slicers allow you and your audience to drill down into the data in ways that are much more dynamic than a static Excel chart. Clicking on one visual instantly filters all the others in your report.
  • Data Consolidation: Your Excel file is just the beginning. Power BI makes it easy to combine that Excel data with dozens of other sources, like Google Analytics, Salesforce, or a SQL database, to get a complete picture of your business.
  • Automation and Sharing: You can set up your Power BI reports to refresh automatically, putting an end to the tedious cycle of manually updating reports. Sharing is also more secure and streamlined through the Power BI Service cloud platform.

Method 1: How to Add a Local Excel File

This is the most common method, especially when you're just getting started or working with a file stored on your computer or a local network drive. The process involves importing a static copy of your data directly into the Power BI file.

Step 1: Prep Your Excel File Correctly

Before you even open Power BI, a little preparation in Excel can save you a lot of trouble later. The single most important thing you can do is format your data as a table.

Don't just have headers and rows, officially turn your data range into a Table object. This is simple:

  • Click anywhere inside your data range.
  • Go to the 'Insert' tab in Excel and click 'Table', or just press the keyboard shortcut Ctrl+T.
  • Ensure the "My table has headers" box is checked, and click OK.

Why is this so important? Formatting as a Table gives your data a defined structure. Power BI recognizes this structure, making the import cleaner and more reliable. It also means that if you add new rows to your table in Excel, Power BI will automatically include them the next time you refresh the data, without you needing to manually adjust the data source range.

Pro Tip: Keep your raw data tidy. Avoid merged cells, empty rows that act as separators, and subtotals within your data. Each column should represent a field (like 'Date' or 'Revenue'), and each row should represent a single record (like a sale on a specific day).

Step 2: Connect to The File in Power BI Desktop

Now, let's switch over to Power BI Desktop.

  • On the 'Home' ribbon, click on Get Data.
  • Select Excel Workbook from the common data sources list. If you don't see it, select 'More...' and find it in the list.
  • Navigate to where your Excel file is saved on your computer and click 'Open'.

Step 3: Use the Navigator to Select Your Data

After you select your file, the Navigator window will appear. This shows you all the sheets and Tables Power BI has found in your workbook. This is where formatting your data as a Table in Step 1 pays off. You will see both the raw sheet names (with a sheet icon) and any named Tables (with a blue-grid table icon). Always choose the Table.

Selecting the sheet works, but it can pull in extra empty rows or columns on the sheet that aren't part of your data. The Table gives you a perfectly clean selection of only the data you need.

Step 4: Choose 'Load' or 'Transform Data'

At the bottom of the Navigator window, you have two options:

  • Load: This option loads the data directly into your Power BI report as-is. It’s a good choice if you are completely confident that your data is already clean, well-structured, and ready for visualization.
  • Transform Data: This is the more powerful and recommended option for most cases. It opens the Power Query Editor, which is a tool within Power BI for cleaning, shaping, and transforming your data before it's loaded.

Even if you think your data is clean, it's a good habit to click 'Transform Data' for a quick check. Here you can perform essential tasks like:

  • Removing unwanted columns.
  • Setting the correct data type for each column (e.g., ensuring a date column is recognized as a 'Date' and not 'Text').
  • Splitting columns.
  • Replacing errors or filling in empty cells.

Once you are happy with the data's shape in the Power Query Editor, click 'Close & Apply' in the top-left corner to load your prepared data into the report.

Method 2: Connect to an Excel File in OneDrive or SharePoint

This method is ideal when you're working with a file that is updated frequently, especially in a team environment. Instead of importing a copy, you create a live link to the file stored in the cloud (like OneDrive for Business or SharePoint). This allows for automated, scheduled data refreshes without needing manual intervention.

Step 1: Get the Correct File Path

The trickiest part of this method is getting the right link. The standard "Share" link from the browser won't work. Here's how to get the correct path:

  • Navigate to your Excel file in either SharePoint or OneDrive.
  • Open the file in the Desktop App (not in the browser version of Excel).
  • Once open in the desktop application, go to File > Info.
  • Click the Copy Path button.

Step 2: Clean the URL

Paste the path you copied into a text editor (like Notepad). It will look something like this: https://yourcompany.sharepoint.com/sites/YourSite/Shared%20Documents/YourFolder/YourFile.xlsx?web=1

To make it work with Power BI, you need to delete the ?web=1 part at the very end. Your final URL should end in .xlsx.

Step 3: Connect Using the 'Web' Connector in Power BI

Back in Power BI Desktop:

  • Go to the 'Home' ribbon and click Get Data just like before.
  • This time, select the Web connector from the list.
  • In the pop-up window, paste your cleaned URL and click OK.
  • You may be prompted to sign in. Choose 'Organizational account' and use your Microsoft credentials (the same ones you use for OneDrive/SharePoint).

From here, the process is the same as with a local file. The Navigator window will appear, where you can select your table and choose to either Load or Transform the data.

Refreshing Your Excel Data in a Report

Bringing in your data is one thing, keeping it up-to-date is another. The refresh process differs based on how you connected the file.

  • For Local Files: While working in Power BI Desktop, you can just click the 'Refresh' button on the Home ribbon. This will re-scan the original Excel file on your computer and pull in any changes. To automate this daily for shared reports, you have to publish the report to the Power BI Service and install an 'On-premises data gateway' on a computer that is always on and has access to the file.
  • For OneDrive/SharePoint Files: This is much simpler. After publishing your report to the Power BI Service, you can set up a scheduled refresh directly. Go to the settings for your dataset, and under 'Data source credentials', Power BI should have already configured authentication. You can then toggle on 'Scheduled refresh' and set it to update automatically as often as you need - no gateway required.

Final Thoughts

Connecting your Excel spreadsheets to Power BI unlocks a new level of interactive reporting and automation that simply isn't possible in Excel alone. By choosing the right connection method - a local import for simple, static files or a cloud connection for collaborative, evolving data - and formatting your data into a Table first, you can build reliable, powerful dashboards with ease.

While Power BI offers deep customization, the process of connecting multiple data sources, setting up gateways, and cleaning data still has a learning curve. For businesses needing to quickly blend Excel files with live data from platforms like Shopify, Google Analytics, Salesforce, or Facebook Ads, we built Graphed to simplify the entire process. We automated the data connections and warehousing so you can skip the complex setup. Instead of building reports button-by-button, you just describe the dashboard you want in plain English, and our AI analyst builds it for you in seconds, merging all your connected data into a single, unified view.

Related Articles

How to Connect Facebook to Google Data Studio: The Complete Guide for 2026

Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.

Appsflyer vs Mixpanel​: Complete 2026 Comparison Guide

The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.