Page 12 - DAX-Formula-Reference-Guide-Enterprise-DNA_Neat
P. 12
DAX Formulas Reference Guide | Date and Time Functions (DAX)
Return Value:
A table containing a single column of date values.
DATESINPERIOD Function (DAX)
Returns a table that contains a column of dates that begins with the start_date and
continues for the specified number_of_intervals.
Syntax: DATESINPERIOD(<dates>,<start_date>,<number_of_intervals>,<interval>)
Parameter Definition
dates A column that contains dates.
start_date A date expression.
number_of_intervals An integer that specifies the number of intervals to add to or subtract
from the dates.
interval The interval by which to shift the dates. The value for interval can be one
of the following: year, quarter, month, day.
Return Value:
A table containing a single column of date values.
DATESMTD Function (DAX)
Returns a table that contains a column of the dates for the month_to_date, in the current
context.
Syntax: DATESMTD(<dates>)
Parameter Definition
dates A column that contains dates.
Property Value/Return Value:
A table containing a single column of date values.
DATESQTD Function (DAX)
Returns a table that contains a column of the dates for the quarter to date, in the current
context.
Syntax: DATESQTD(<dates>)
Parameter Definition
dates A column that contains dates.
+64 21 164 5508 | info@enterprisedna.co 12

