DATESMTD Returns a table that contains a column of the dates for the month to date, in the current context.
Syntax
DATESMTD(dates)
Parameters
Dates – A column that contains dates.
Return Value
A table containing a single column of date values.
Reference Data
https://docs.microsoft.com/en-us/dax/dax-function-reference