DATESYTD

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


Syntax

DATESYTD(dates [,year_end_date])

Parameters

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

https://docs.microsoft.com/en-us/dax/dax-function-reference

DAX Functions / Time Intelligence Functions / DATESYTD