Menu
CoddyTech

DATESYTD Inside CALCULATE

Part of the Time Intelligence section of Coddy's Power BI journey. Lesson 7 of 17.

DATESYTD(Dates[Date]) is the dates of the year so far, used as a CALCULATE filter.

Customers YTD = CALCULATE([Customers], DATESYTD(Dates[Date]))

A customer of January and March counts once in the year: count over the dates, never add months.

CALCULATE takes other filters next to the dates.

challenge icon

Challenge

How many different customers has Lumen had so far this year? Write Customers YTD. It is checked for each month of each year.

bugsy Main icon

Start this challenge with Coddy's AI tutor

What is Bugsy?

All lessons in Time Intelligence