DATESYTD Returns a table that contains a column of the dates for the year to date, in the current context.


DATESYTD(dates [,year_end_date])


Dates – A column that contains dates.

year_end_date (optional) – A literal string with a date that defines the year-end date. The default is December 31.

Return Value

A table containing a single column of date values.

Reference Data

DAX Functions / Time Intelligence Functions / DATESYTD