Sales Trend Dashboard with YoY and YTD
Part of the Power BI Roadmap
In short
This project ties the whole phase together into the page every sales head opens first: how are we tracking this financial year, compared with last year, and is the trend going up?
A project building a one-page sales trend dashboard showing monthly sales, YTD, previous year, YoY % and a rolling average, with slicers for region and category.

Think of it like this
The car dashboard
While driving from Delhi to Jaipur you glance at the dashboard: speed right now, kilometres covered so far, fuel left. You don't need every engine reading, just the few that tell you whether you'll get there. Your sales trend page is that dashboard: current month, FYTD, vs last year and the direction of travel.
Watch it happen
Building the trend dashboard
1/5A marked fiscal date table related to Sales, with fiscal year, quarter and month columns.
The big ideas
What you need to know
One user, one question
Design for a regional sales head asking "are we ahead of last year?", not for everyone.
KPIs top, trend middle
Headline numbers first, the monthly trend next, breakdowns by region or category last.
Compare on one axis
Show this year and last year on the same line chart so the gap is obvious.
Test the numbers
Check FYTD and YoY against a simple Excel pivot for one month before you share.
How it works
Project steps
- 1
Get data
Use a retail dataset with at least two financial years of orders, or generate one with Indian regions and categories.
- 2
Model it
Star schema: Sales fact with Date, Product, Customer and Region dimensions. Mark the fiscal date table.
- 3
Write measures
Base, previous year, FYTD, YoY % and 3-month average, all in one display folder.
- 4
Lay out the page
Cards, a combined trend line, a YoY % by region bar chart and three slicers.
- 5
Write the insight
Add a text box with one finding, like which region drove growth this year.
See it in code
Walk through the code
1Total Sales = SUM ( Sales[Amount] )2 3Sales PY =4CALCULATE ( [Total Sales], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )5 6Sales FYTD = TOTALYTD ( [Total Sales], 'Date'[Date], "3-31" )7 8Sales PY FYTD =9CALCULATE ( [Sales FYTD], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )10 11Sales FYTD YoY % =12DIVIDE ( [Sales FYTD] - [Sales PY FYTD], [Sales PY FYTD] )13 14KPI Subtitle =15"vs " & FORMAT ( [Sales PY FYTD] / 100000, "#,0.0" ) & " L last year"1/5The base everything else builds on.
The core measure set for the dashboard. Add Sales YoY % and Sales 3M Avg from earlier lessons.
Save yourself the pain
Common mistakes
Oops
Ten cards, five charts and a table all on one page.
Do this instead
Keep it to 3 or 4 KPIs, one trend and one breakdown. Put details on a drill-through page.
Oops
Showing FYTD on a chart that includes future months.
Do this instead
Filter the trend to dates up to the last sales date so the line doesn't go flat into the future.
Your mission
Build the trend page
Quick check
On the dashboard, which pair of measures gives a fair "ahead of last year?" comparison in September?
Go deeper
- 1Use a multi-year dataset so YoY comparisons are meaningful.
- 2Put KPI cards at the top and trends below.
- 3Add a short text box explaining the key trend.
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.