Files and lists · data source guide

Excel data in Power BI

Excel is where budgets, targets, manual trackers and one-off extracts live. Almost every Power BI model has at least one Excel source: the budget that sits next to ERP actuals, the mapping table that groups accounts, or the tracker a team updates by hand.

Connector status

Connector in Microsoft's list

  • Excel

The Excel connector is listed for Excel, Power BI (semantic models) and Power Query Online.

Checked against Microsoft Learn's Power Query connector list on 5 November 2026. Connectors change; check the list before you build.

How to get Excel data into Power BI

In order of preference for a report that refreshes on its own.

  1. 1

    Format data as a table

    In Excel, convert each data range to a table (Ctrl+T) and name it. Power BI then reads the table by name, so added rows and moved ranges don't break the query.

  2. 2

    Store the file in SharePoint or OneDrive

    A workbook in SharePoint or OneDrive for work or school refreshes in the Service without a gateway. A file on a local or network drive needs an on-premises data gateway.

  3. 3

    Unpivot wide layouts

    Budgets often have one column per month. In Power Query, select the month columns and Unpivot Columns so each row is one account and one month.

  4. 4

    Several files: use Folder

    For monthly files with the same layout, put them in one folder and use the Folder (or SharePoint folder) connector to combine them.

Typical Excel KPIs

Table and column names in the DAX are illustrative: rename them to match your model.

Actual vs budget

Actuals from the system of record against the Excel budget.

DAX
Var to Budget = [Actual] - SUM ( Budget[Amount] )

Budget attainment

Actual as a share of budget.

DAX
Budget Attainment % = DIVIDE ( [Actual], SUM ( Budget[Amount] ) )

Forecast accuracy

One minus the absolute error between forecast and actual, as a share of actual.

DAX
Forecast Accuracy = 1 - DIVIDE ( ABS ( [Actual] - SUM ( Forecast[Amount] ) ), [Actual] )

Tracker completion

Share of tracker rows marked complete.

DAX
Completion % = DIVIDE ( CALCULATE ( COUNTROWS ( Tracker ), Tracker[Status] = "Complete" ), COUNTROWS ( Tracker ) )

Target gap

Distance to target per row in a targets table.

DAX
Gap to Target = SUM ( Targets[Target] ) - [Actual]

Modelling notes for Excel

Templates for Excel data

Free page layouts with a background, theme JSON and PBIP project. Swap the sample tables for your own queries.

Power BI visuals for Project Management · More by department: Finance templates · Executive templates · Project & PMO templates

Visuals for Excel KPIs

Chart types that suit these KPIs, with data shapes and example prompts.

Excel and Power BI: questions

Do I need a gateway to refresh an Excel file?

Not when the workbook is in SharePoint or OneDrive for work or school. Files on a local or network drive need an on-premises data gateway.

Should I read a sheet or a table?

A table. Tables keep their name when rows are added or the range moves; sheet imports pick up stray cells and break when the layout changes.

Related data sources

Other sources teams often combine with this one.

Excel is a trademark of its owner. Product names are used only to describe compatibility; VizForge is not affiliated with, endorsed by or sponsored by the owner or by Microsoft.

Design the Excel report page first

Lay out KPI cards and visual slots in the free Design Studio, then export the background, theme JSON and a PBIP project to bind to your data.

The design studio for Power BI. Free, in your browser, no sign-up.