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.

⬇️ Download the Free Practice Files
4 CSV exports, product list, store list and the finished report · .zip · Power BI Desktop
Watch the Video Tutorial
Video Overview
The video first shows the finished report and filters it to the online shop. Then it starts from a blank file: folder connector, clean data types in Power Query, a date table, three relationships, DAX measures, slicers, cards, charts and a product table. It ends with a quick test of the slicers.
The Raw Data
There are four CSV exports, one per month from July to October 2026, with almost eight thousand order lines in total, plus an Excel product list and store list.
Step 1: Get Data and Clean It in Power Query
On the Home tab click Get data, choose Folder, paste the path of the Sales Exports folder and choose Combine and Transform Data. Rename the query to Sales.


Remove the Source.Name column. The order dates are written month first, so right-click Order Date, choose Change Type, Using Locale, then Date and English (United States). Set Sales and Cost to Decimal Number. Add the product list and store list with New Source, and name them Products and Stores. Then Close and Apply.

Step 2: Build a Date Table
On the Modeling tab click New table. Use CALENDAR from the first order date to the last one, and add year, month number, month name and month-year columns with ADDCOLUMNS. Sort the month-year column by the year-month number and mark the table as the date table.

Step 3: Create the Relationships
In Model view connect Sales[Order Date] to the date column, Sales[Product ID] to Products and Sales[Store ID] to Stores. All three are many to one with a single filter direction. That shape is a star schema, as described in Microsoft’s star schema guidance.

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.
⬇️ Download the Free Practice Files
4 CSV exports, product list, store list and the finished report · .zip · Power BI Desktop
Want a Ready-Made Dashboard?
See the ready-to-use Sales Dashboard in Power BI 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.



