What does Year-over-year (YoY) growth measure in business data?
Year-over-year growth measures how a value, like sales or revenue, changes compared to the same period in the previous year. It helps see if the business is growing or shrinking over time.
Click to reveal answer
intermediate
Write a simple DAX formula to calculate Year-over-year growth percentage for Sales.
Why is it important to use a proper date table when calculating Year-over-year growth in Power BI?
A proper date table ensures correct time intelligence calculations. It helps DAX functions like SAMEPERIODLASTYEAR work correctly by providing continuous dates and proper relationships.
Click to reveal answer
beginner
What visual type is best to show Year-over-year growth trends over months?
A line chart is best because it clearly shows changes over time and trends month by month, making it easy to compare current year and previous year growth.
Click to reveal answer
intermediate
Explain what happens if you calculate YoY growth without filtering the same period last year.
If you don't filter the same period last year, the comparison will be wrong. You might compare current sales to total sales from last year or a wrong date range, giving misleading growth results.
Click to reveal answer
Which DAX function helps to get the same period last year for YoY calculations?
ASAMEPERIODLASTYEAR
BTOTALYTD
CDATESBETWEEN
DFILTER
✗ Incorrect
SAMEPERIODLASTYEAR returns the dates from the same period in the previous year, perfect for YoY comparisons.
What does a positive Year-over-year growth percentage indicate?
ADecrease compared to last year
BIncrease compared to last year
CNo change compared to last year
DData error
✗ Incorrect
A positive YoY growth means the value increased compared to the same period last year.
Which visual is NOT ideal for showing Year-over-year growth trends?
ACombo chart
BBar chart
CLine chart
DPie chart
✗ Incorrect
Pie charts show parts of a whole, not trends over time, so they are not suitable for YoY growth.
What is the first step before calculating YoY growth in Power BI?
ACreate a date table
BAdd a pie chart
CImport images
DWrite SQL queries
✗ Incorrect
A date table is essential for time intelligence functions to work correctly.
If Sales this year are 120 and last year were 100, what is the YoY growth percentage?
A100%
B83%
C20%
D120%
✗ Incorrect
YoY growth % = ((120 - 100) / 100) * 100 = 20%
Describe how to calculate Year-over-year growth in Power BI using DAX.
Think about comparing current and previous year values using time intelligence.
You got /4 concepts.
Explain why Year-over-year growth is useful for business decision making.
Consider how comparing the same time periods year to year helps understand trends.
You got /4 concepts.
Practice
(1/5)
1. What does year-over-year (YoY) growth measure in business intelligence?
easy
A. The total sales in the current year
B. The change in a value compared to the same period last year
C. The average value of all years combined
D. The difference between two unrelated time periods
Solution
Step 1: Understand the concept of YoY growth
Year-over-year growth compares a metric from this year to the same metric from the previous year.
Step 2: Identify what YoY growth measures
It measures the change or growth rate between these two periods to show progress or decline.
Final Answer:
The change in a value compared to the same period last year -> Option B
Quick Check:
YoY growth = change from last year [OK]
Hint: YoY compares this year to last year same period [OK]
Common Mistakes:
Confusing YoY with total current year value
Comparing unrelated time periods
Using average of multiple years instead of last year
2. Which of the following DAX formulas correctly calculates year-over-year growth percentage for a measure named Sales?
easy
A. YoY Growth = DIVIDE([Sales] - CALCULATE([Sales], SAMEPERIODLASTYEAR('Date'[Date])), CALCULATE([Sales], SAMEPERIODLASTYEAR('Date'[Date])))
B. YoY Growth = [Sales] + CALCULATE([Sales], SAMEPERIODLASTYEAR('Date'[Date]))
C. YoY Growth = [Sales] / CALCULATE([Sales], NEXTYEAR('Date'[Date]))
D. YoY Growth = CALCULATE([Sales], SAMEPERIODLASTYEAR('Date'[Date])) - [Sales]
Solution
Step 1: Understand the YoY growth formula structure
YoY growth percentage is (Current Year Sales - Last Year Sales) / Last Year Sales.
Step 2: Check each option's correctness
YoY Growth = DIVIDE([Sales] - CALCULATE([Sales], SAMEPERIODLASTYEAR('Date'[Date])), CALCULATE([Sales], SAMEPERIODLASTYEAR('Date'[Date]))) uses DIVIDE to safely calculate the percentage difference using SAMEPERIODLASTYEAR, which is correct syntax and logic.
But the results seem incorrect. What is the main issue?
medium
A. DIVIDE function is missing a third argument for error handling
B. SAMEPERIODLASTYEAR cannot be used with CALCULATE
C. The denominator should be last year's sales, not current year's sales
D. The measure should use NEXTYEAR instead of SAMEPERIODLASTYEAR
Solution
Step 1: Analyze the formula denominator
The denominator is currently [Sales] (current year), but YoY growth divides by last year's sales.
Step 2: Identify correct denominator usage
It should be CALCULATE([Sales], SAMEPERIODLASTYEAR('Date'[Date])) to compare properly.
Final Answer:
The denominator should be last year's sales, not current year's sales -> Option C
Quick Check:
Divide by last year's sales for correct YoY [OK]
Hint: Divide difference by last year's sales, not current [OK]
Common Mistakes:
Using current year sales as denominator
Misunderstanding SAMEPERIODLASTYEAR usage
Ignoring DIVIDE's optional error argument
5. You want to create a Power BI dashboard showing year-over-year growth for monthly sales. Your date table has missing months for some years. Which approach best ensures accurate YoY growth calculation?
hard
A. Replace SAMEPERIODLASTYEAR with PREVIOUSMONTH to avoid missing data issues
B. Calculate YoY growth only on months present in both years without filling missing months
C. Calculate YoY growth by comparing total sales of entire years ignoring months
D. Use a continuous date table with all months and apply SAMEPERIODLASTYEAR on it
Solution
Step 1: Understand the impact of missing months in date table
Missing months cause SAMEPERIODLASTYEAR to fail or return incorrect results because it expects continuous dates.
Step 2: Use a continuous date table
Creating a date table with all months ensures SAMEPERIODLASTYEAR works correctly and compares matching periods.
Step 3: Avoid partial or incorrect comparisons
The other options either ignore missing data or use wrong functions, leading to inaccurate YoY growth.
Final Answer:
Use a continuous date table with all months and apply SAMEPERIODLASTYEAR on it -> Option D
Quick Check:
Continuous date table needed for accurate YoY [OK]
Hint: Ensure full date continuity for SAMEPERIODLASTYEAR [OK]
Common Mistakes:
Ignoring missing months causing wrong YoY
Using PREVIOUSMONTH instead of SAMEPERIODLASTYEAR
Comparing totals ignoring monthly detail
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.