Page 14 - DAX-Formula-Reference-Guide-Enterprise-DNA_Neat
P. 14
DAX Formulas Reference Guide | Date and Time Functions (DAX)
ENDOFYEAR Function (DAX)
Returns the last date of the year in the current context for the specified column of dates.
Syntax: ENDOFYEAR(<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)
FIRSTDATE Function (DAX)
Returns the first date in the current context for the specified column of dates.
Syntax: FIRSTDATE(<daters>)
Parameter Definition
dates A column that contains dates.
Return Value:
A table containing a single column and single row with a date value.
FIRSTNONBLANK Function (DAX)
Returns the first value in the column, column, filtered by the current context, where the
expression is not blank.
Syntax: FIRSTNONBLANK(<column>,<expressed>)
Parameter Definition
column A column expression.
expression An expression evaluated for blanks for each value of column.
Property Value/Return Value:
A table containing a single column and single row with the computed first value.
LASTDATE Function (DAX)
Returns the last date in the current context for the specified column of dates.
Syntax: LASTDATE(<dates>)
+64 21 164 5508 | info@enterprisedna.co 14

