This tutorial builds a sales dashboard in Power BI from raw point of sale exports. The example is Summit Home and Outdoor, a fictional US retailer with twelve stores and an online shop. You combine four monthly CSV files, model the data, write the measures and design one report page.

⬇️ Join Free on Skool & Download the Practice File
Free membership · takes 1 minute · the file is in Classroom → Free Downloads from YouTube.

Step 4: Write the DAX Measures
Create an empty table called _Measures and add these measures to it.
Total Sales = SUM(Sales[Sales])
Total Cost = SUM(Sales[Cost])
Gross Profit = [Total Sales] - [Total Cost]
Margin % = DIVIDE([Gross Profit], [Total Sales])
Orders = DISTINCTCOUNT(Sales[Order ID])
Avg Order Value = DIVIDE([Total Sales], [Orders])
A Product Rank measure uses RANKX with ISINSCOPE to rank products by total sales.

Step 5: Design the Dashboard Page
Add a month slicer and a region slicer, then a card visual with Total Sales, Gross Profit, Margin %, Orders and Average Order Value.

Add a clustered column chart of sales and gross profit by month, a bar chart by category and another by region, and a product table sorted by total sales. July is the best month with about $447,000 in sales, Grills and Smokers is the top category and South is the best region.


Clean the Store IDs with Trim
The October file has store IDs with a trailing space. The relationship still matches them, but the space can break a merge in Power Query, so apply Trim to Store ID and Close and Apply again.
Test the Dashboard
Pick Online in the Region slicer and October 2026 in the Month slicer. Every visual changes together, and online sales for October show $42,837.

Monthly Excel Report or Power BI Dashboard?
| Task | Manual report | This Power BI model |
|---|---|---|
| New month | Copy and paste the export | Drop the file in the folder and refresh |
| Cleaning | Repeated by hand | Recorded Power Query steps |
| Filtering | Rebuild tables | Click a slicer |
| Calculations | Copied formulas | Reusable DAX measures |
Download the Free Practice Files
The zip holds the raw data and the finished report. If you refresh the finished report, point the queries to the folder where you saved the files.
⬇️ Join Free on Skool & Download the Practice File
Free membership · takes 1 minute · the file is in Classroom → Free Downloads from YouTube from Next Gen Templates. To learn the whole process, join Power BI: Raw Data to Professional Business Dashboards. Code PKEE-PBI20 gives 20% off, valid till December 31, 2026.
Related Tutorials
- Accounts Receivable Aging Dashboard in Power BI
- Power BI KPI Cards with SVG and DAX
- Power BI Custom Theme with JSON
Frequently Asked Questions
How do I combine several CSV files in Power BI?
Use Get data, choose the Folder connector, paste the folder path and pick Combine and Transform Data. Power Query stacks all the files into one table.
Why should a Power BI model have a date table?
A date table gives one row per day with year and month columns, so months sort correctly and every fact table can be filtered by the same calendar.
How do I stop months sorting alphabetically?
Select the month label column, choose Sort by column and pick a numeric year-month column.
What is a star schema?
One fact table, here Sales, in the middle with lookup tables such as Date, Products and Stores around it, joined one to many.
Why use DIVIDE instead of the slash operator?
DIVIDE returns a blank instead of an error when the denominator is zero.
What happens when next month’s file arrives?
Save the new CSV export in the same folder with the same columns and click Refresh.
By PK, An Excel Expert. Summit Home and Outdoor and all names and numbers are fictional example data for learning.
Conclusion
Power Query combines the monthly files, the star schema keeps the model simple, and a handful of DAX measures drive a sales dashboard in Power BI that refreshes when the next file arrives.



