
📎 This article includes 3 downloadable practice files ↓
This project strings the course together into what offices actually need: a report that rebuilds itself. At the end, adding next month’s data takes one file copy and one click.
The pipeline
- Source: From Folder on the monthly folder (Lesson 6). Filter to .csv files named sales_*.
- Clean in the Transform Sample File query: promote headers, trim text, set types with English (India) locale for dates (Lessons 1-3).
- Audit column: keep Source.Name, extract the month from it.
- Merge Products on ProductCode, expand Product and Category (Lesson 5). Add a Left Anti check query listing unmatched codes.
- Add columns: FY, FYQuarter, Month (Lesson 9); Size band (Lesson 8).
- Name the query
Salesand the steps clearly (right-click › Rename). - Load: Close & Load To › Only Create Connection + tick Add this data to the Data Model.
- Report: Insert › PivotTable › From Data Model: Region in rows, Month in columns, Amount summed; add a slicer for Category.
Check the numbers
The expected-results workbook lists the KPIs (6 files, 180 orders, total sales and best region) and a month × region grid. Your pivot should match.
Refresh next month
- Save the October CSV into the folder.
- Data › Refresh All.
Optionally tick Refresh data when opening the file (Query Properties) so the report is always current.
You’ve finished the course
You can import, clean, reshape, merge, combine, group and enrich data with Power Query, and build a pipeline that refreshes itself. The same skills work in Power BI Desktop, which is the next course.
Practice
Download the source file(s) and the expected-results workbook below. Build the query in Excel (Data › Get Data), load it to a sheet, and compare your row count and totals with the Checks sheet.
📎 Practice files for this article
- 🗂️pq-monthly-files.zipSix monthly sales CSVs; unzip into a folder.⬇ ZIP · 4 KB
- 📗pq-05-products.xlsxProduct master for the merge step.⬇ XLSX · 5 KB
- 📗Expected resultsWhat your query should produce, with check totals.⬇ XLSX · 6 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Stuck on a step? Ask a question and the AI answers using this article.