Home>Blogs>Power BI>Power BI Sales Dashboard from Raw Data: Step by Step
Power BI

Power BI Sales Dashboard from Raw Data: Step by Step

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.

Sales dashboard in Power BI built from raw data
The finished dashboard: $1,548,957 total sales and a 48.2% margin.

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

Creating relationships in Power BI model view
Joining the fact table to the lookup tables.

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.

Measures table in Power BI
Keeping every measure in one table.

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.

Card visual with five sales measures
The headline numbers.

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.

Column and bar charts in the Power BI sales report
Month, category and region views.
Top products table in Power BI with product rank
The Pellet Smoker Grill comes first.

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.

Filtered Power BI dashboard for online sales
The slicers filter every visual.

Monthly Excel Report or Power BI Dashboard?

TaskManual reportThis Power BI model
New monthCopy and paste the exportDrop the file in the folder and refresh
CleaningRepeated by handRecorded Power Query steps
FilteringRebuild tablesClick a slicer
CalculationsCopied formulasReusable 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

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.

PK
Meet PK, the founder of PK-AnExcelExpert.com! With over 15 years of experience in Data Visualization, Excel Automation, and dashboard creation. PK is a Microsoft Certified Professional who has a passion for all things in Excel. PK loves to explore new and innovative ways to use Excel and is always eager to share his knowledge with others. With an eye for detail and a commitment to excellence, PK has become a go-to expert in the world of Excel. Whether you're looking to create stunning visualizations or streamline your workflow with automation, PK has the skills and expertise to help you succeed. Join the many satisfied clients who have benefited from PK's services and see how he can take your Excel skills to the next level!
https://www.pk-anexcelexpert.com