Data Analytics
  • All of Microsoft
  • Python
  • My Role
    • All in My Role
    • Data Analytics
  • Focus
    • All in Focus
    • Microsoft Ignite 2026
    • Microsoft Fabric
    • What's Hot
    • M365 Release
  • Security & Identity
Timespan
explore our new search
Power BI: build a refreshable dashboard from Excel files
Power BI

Power BI: build a refreshable dashboard from Excel files

by HubSite 365 about Mynda Treacy (MyOnlineTrainingHub) [MVP]

Power BI can combine consistently structured monthly Excel files into one interactive report that updates when you refresh its data.

Key insights

  • Power Query can combine Excel workbooks from a folder when their tables have a consistent structure and name.
  • New files in the connected folder can be included when the data is refreshed.
  • A star schema keeps transaction data separate from product and customer details.
  • Visual calculations can add a chart-specific month-over-month comparison; use a measure when you need it elsewhere.
  • Power BI Desktop runs on Windows, not natively on Mac.

Power BI can combine monthly Excel workbooks into an interactive sales report and include new files when you refresh the connected data. This approach is useful for Excel users who regularly assemble reports from similarly structured files and want shared filters, charts, and calculated metrics. Mynda Treacy (MyOnlineTrainingHub) [MVP] demonstrates the workflow using monthly sales files, plus separate customer and product tables.

What it does

The report starts with a folder of workbooks, one for each month, and uses Power Query to combine their transaction rows into a single Sales query. Separate Customers and Products tables provide descriptive fields such as region, category, and product name. Power BI relates those tables to the sales transactions so report users can analyze sales by those attributes without copying all the descriptive columns into every transaction row.

The report then presents headline figures, a monthly sales trend, sales by category and region, and a channel filter. Selecting a category or region filters the other visuals, so users can explore the same report rather than maintain a separate spreadsheet for every view. The demonstration also adds a profit margin measure and a month-over-month percentage calculation.

For Excel users, the shift is not that familiar skills become irrelevant. The workflow still uses Power Query for data preparation and tables and relationships for modeling, while Power BI provides the report canvas and interactive visuals. See more about Power BI reports and modeling.

Who it is for and what you need

This folder-based setup suits analysts or report makers who receive recurring files with the same columns and table layout. The example uses five monthly sales workbooks and two lookup workbooks, one for customers and one for products. Each monthly file has a table named Sales; the consistent table name and structure let Power Query apply the same transformation steps across the files.

The walkthrough uses Power BI Desktop. It runs on Windows and does not run natively on Mac, so Mac users need access to Windows to follow the local-folder steps exactly. The demonstration notes that some Power BI features are available through the online service, but that is not the same as connecting to a local folder in this Desktop walkthrough.

Think of “self-updating” here as a refreshable setup, not a report that changes just because someone copied a file. Power BI must refresh the data connection to process the new workbook. The example establishes folder-based ingestion; it does not walk through configuring a scheduled refresh in the Power BI service.

How it works

  1. In Power BI Desktop, create and save a blank report. On the Home tab, choose Get data, then More, and select Folder. Browse to the folder containing only the monthly sales workbooks.
  2. Choose Combine & Transform Data. Select the Sales table as the sample, and check that the workbooks use the same table name and compatible structure. Power Query applies the selected transformations to the files and appends their rows into one query.
  3. Review the combined query in Power Query Editor. Remove columns you do not need, such as the source workbook name, and check that dates, text, whole numbers, and decimal values have suitable data types.
  4. Use Home > New source > Excel workbook to add the Customers and Products tables. Choose Close & Apply to load the queries into the model.
  5. In Model view, connect Products and Customers to Sales using their matching ID columns. The example uses one-to-many relationships, with each lookup table filtering multiple rows in the transaction table. This layout is commonly called a star schema.
  6. In Report view, add cards and charts. For example, use a card for Sales Amount, a line chart with Order Date by month, and category and region charts using fields from the related lookup tables. Add a slicer for Channel to filter the report.
  7. To bring in another month, place its workbook in the connected folder and refresh the data. Because the new file follows the same structure, Power Query can apply the existing combination steps to it.

Some calculations need more than summing a column. The demonstrated Profit Margin measure divides the sum of Profit by the sum of Sales Amount using DAX's DIVIDE function, which returns a blank when the denominator is zero or blank. Visual calculations can handle a chart-only comparison: the example calculates the percentage change against the previous month and displays it with monthly sales columns.

Limitations and alternatives

Folder combining depends on consistency. The demonstration keeps only the monthly sales workbooks in the folder and selects the Sales table from each file. Unrelated workbooks or changed table structures can interfere with the intended import, so keep the source folder organized and preserve the expected layout.

A folder connection is not, by itself, a schedule. A new workbook is picked up when the data is refreshed; teams that need unattended updates must consider refresh configuration separately. This distinction matters when deciding whether the report can replace a process that currently distributes a freshly updated spreadsheet on a timetable.

Visual calculations are shown as a preview feature in the walkthrough. If the command is not available, the demonstrated setting is File > Options and settings > Options > Preview features > Visual calculations. The calculation belongs to its visual; use a model measure instead if the same result must be reused across the report. For readers who need a folder connection on Mac, the demonstrated Desktop steps require access to Windows.

Sources

Frequently asked questions

How do I combine monthly Excel files in Power BI?

In Power BI Desktop, use Home > Get data > More > Folder, select the folder, then choose Combine & Transform Data. The workbooks should have a consistent structure and the same table name.

Will Power BI include a new Excel file automatically?

A new workbook in the connected folder can be included when the data is refreshed, provided it follows the expected structure. Adding the file alone is not the same as refreshing the report.

Can I follow this Power BI Desktop folder workflow on a Mac?

Power BI Desktop does not run natively on Mac. The walkthrough's local-folder steps require access to Windows.

Should I use a visual calculation or a DAX measure?

A visual calculation suits a calculation needed in one chart, such as the demonstrated month-over-month change. Use a measure when you need to reuse the result elsewhere in the report.