Page 13 - DAX-Formula-Reference-Guide-Enterprise-DNA_Neat
P. 13
DAX Formulas Reference Guide | Date and Time Functions (DAX)
Property Value/Return Value:
A table containing a single column of date values.
DATESYTD Function (DAX)
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>])
Parameter Definition
dates A column that contains dates.
year_end_date A literal string with a date that defines the year_end_date. The default is
December 31st. (Optional)
Property Value/Return Value:
A table containing a single column of date values.
ENDOFMONTH Function (DAX)
Returns the last date of the month in the current context for the specified column of
dates.
Syntax: ENDOFMONTH(<dates>)
Parameter Definition
dates A column that contains dates.
Return Value:
A table containing a single column and single row with a date value.
ENDOFQUARTER Function (DAX)
Returns the last date of the quarter in the current context for the specified column of
dates.
Syntax: ENDOFQUARTER(<dates>)
Parameter Definition
dates A column that contains dates.
Return Value:
A table containing a single column and single row with a date value.
+64 21 164 5508 | info@enterprisedna.co 13

