Recall & Review
beginner
What does the DATESYTD function do in Power BI?
DATESYTD returns a table of dates from the start of the year up to the current date in the filter context. It helps calculate year-to-date values.
Click to reveal answer
intermediate
How do you create a cumulative total measure using DATESYTD?
You use CALCULATE with SUM of your value column and filter dates using DATESYTD to sum values from the year's start to the current date.
Click to reveal answer
beginner
Write a simple DAX formula for year-to-date sales using DATESYTD.
YTD Sales = CALCULATE(SUM(Sales[Amount]), DATESYTD('Calendar'[Date]))
Click to reveal answer
intermediate
Why is a proper date table important when using DATESYTD?
A proper date table ensures continuous dates and correct filtering, which is essential for accurate year-to-date calculations.
Click to reveal answer
beginner
What is the difference between cumulative totals and year-to-date totals?
Cumulative totals add values over any period, while year-to-date totals specifically sum values from the start of the year to a given date.
Click to reveal answer
What does the DATESYTD function return?
✗ Incorrect
DATESYTD returns a table of dates starting from January 1st of the current year up to the current date.
Which DAX function is commonly combined with DATESYTD to calculate cumulative totals?
✗ Incorrect
CALCULATE changes the filter context and is used with DATESYTD to compute cumulative totals.
Why do you need a continuous date table for DATESYTD to work correctly?
✗ Incorrect
A continuous date table ensures no gaps in dates, which is necessary for correct year-to-date calculations.
Which of these is a correct DAX formula for cumulative sales YTD?
✗ Incorrect
The correct syntax uses CALCULATE with SUM and DATESYTD as a filter.
What does a cumulative total show in a report?
✗ Incorrect
Cumulative totals add values progressively up to each date, showing running totals.
Explain how you would create a year-to-date sales measure using DATESYTD in Power BI.
Think about how to sum sales from the start of the year to the current date.
You got /4 concepts.
Describe the difference between cumulative totals and year-to-date totals and when you might use each.
Consider how the time frame affects the totals shown.
You got /4 concepts.