What's the easiest way to build a dashboard in Excel from weekly CSV exports
Put every weekly CSV in one folder, combine them with Power Query, build PivotTables and charts on top, then Refresh All each week.
Smalt AI team ·
The easiest way is to keep every weekly CSV in one folder, use Power Query’s From Folder connector to combine them into a single table, and build PivotTables and PivotCharts on that table. Each week you drop the new file into the folder and click Refresh All. Nothing is copied or pasted, so the dashboard never drifts from the exports.
Set up the folder
Create one dedicated folder and put only the weekly exports in it. Power Query reads every file in the folder, subfolders included, so a stray spreadsheet or an old test file will be pulled into your data. An INTHEBLACK article by Neale Blackwood (CPA Australia, 1 August 2017, so check its menu names against your Excel version) makes the same point from the other side: CSV files saved in the folder are included automatically when the query refreshes, and it suggests filtering the Extension column to lowercase .csv because other file types may be in the folder.
The files need the same structure. Microsoft’s guidance for combining CSV files is that they share the same layout and extension. Column order may differ between files, because columns are matched by name, but the names themselves have to agree.
Name the files with the week in them (orders-2026-11-16.csv, for example). The name is useful later, when you need to trace a number back to a file.
Combine the files with Power Query
- In a new workbook, go to Data > Get Data > From File > From Folder and pick your folder.
- In the preview, choose Combine & Transform Data. If the folder holds only files you want and they need no cleaning, Combine & Load is the shorter route.
- In the Power Query editor, check the result. Per-file problems, such as a banner row above the headers, are fixed once in the Transform Sample File query, and the fix applies to every file in the folder.
- Set the data types explicitly: dates as Date, amounts as Decimal Number, IDs as Text. Do this rather than trusting detection, because a column that looks numeric in one week can contain text in the next.
- Choose Close & Load. Load to a table for a modest dataset. Load to the Data Model if the combined rows might approach the worksheet limit of 1,048,576 rows, since the Data Model is not bound by it.
To confirm every week arrived, filter the Source.Name column in the editor and check that each file appears. A missing week is easier to catch here than on a chart.
Keep a real date column in the data. If the only date information is in the file name, the combined table can’t show a trend, so add the week as a column during the transform or make sure the export includes it.
Build the dashboard on top
Click inside the loaded table and use Insert > PivotTable. Microsoft recommends an Excel table as the source, with a single header row and consistent types in each column, which is exactly what the combine step produces.
A workable layout for a weekly operations dashboard:
- One PivotTable for the headline numbers, such as total orders and total tickets by week.
- One PivotChart per question you ask every Monday: a line for the weekly trend, a bar for the top categories.
- A few slicers for the filters people actually use, such as region or product line. They are added from the PivotTable Analyze tab, though the exact menu names vary by Excel version, so check yours.
Put the charts on their own sheet, hide the gridlines, and leave the PivotTables on a separate sheet behind it. The dashboard sheet then holds only what you want people to read.
Update it each week
Save the new export into the folder, open the workbook, and use Data > Refresh All. That reloads the query and, as Microsoft’s PivotTable guide notes, you can also right-click a PivotTable and choose Refresh or use PivotTable Analyze > Refresh All. If the PivotTables don’t update, refresh the query first, then the PivotTables.
Doing it with an AI coworker
If you would rather not maintain the workbook, you can hand the job to Smalt. Upload the week’s exports and ask your AI coworker something like: “Turn this week’s order and ticket exports into a dashboard for Monday.” What comes back is an interactive dashboard with the key numbers and charts, published to a link you can share with the team.
This suits a team that wants a link to send rather than a file to open. If your process depends on a particular Excel layout, or the data has to stay inside a workbook you control, the folder method above is the better fit.
What to check before you rely on it
Renamed columns break the combine. If the export tool changes Order Date to OrderDate in one week, that file no longer matches the others. Power Query offers a “Skip files with errors” option, but skipping hides the problem, and you would be reporting on a dataset with a week missing. Look at Source.Name after any change in the source system.
Stray files get pulled in. A copy of last week’s export saved as orders (1).csv will double that week’s numbers. Keep the folder clean and compare totals against the source system for at least one week.
Row limits and memory. A worksheet holds up to 1,048,576 rows and 16,384 columns. Loading to the Data Model avoids the row limit, but in 32-bit Excel the Data Model is constrained by a shared memory address space of about 2 GB. If refreshes slow down or fail after a year of weekly files, check which Excel build you run.
A person still reads the numbers. A dashboard that refreshes cleanly can still be wrong if the export filter changed or a status was redefined upstream. Spot-check one or two totals against the source each week until you trust the pipeline.
Smalt is an AI coworker that takes jobs like this end to end and hands back the finished file.