DATESMTD, DATESQTD, DATESYTD, TOTALMTD, TOTALQTD, TOTALYTD – DAX Guide

DATESMTD: Returns a set of dates in the month up to the last date visible in the filter context.
https://dax.guide/datesmtd/

DATESQTD: Returns a set of dates in the quarter up to the last date visible in the filter context.
https://dax.guide/datesqtd/

DATESYTD: Returns a set of dates in the year up to the last date visible in the filter context.
https://dax.guide/datesytd/

TOTALMTD: Evaluates the specified expression over the interval which begins on the first of the month and ends with the last date in the specified date column after applying specified filters.
https://dax.guide/totalmtd/

TOTALQTD: Evaluates the specified expression over the interval which begins on the first day of the quarter and ends with the last date in the specified date column after applying specified filters.
https://dax.guide/totalqtd/

TOTALYTD: Evaluates the specified expression over the interval which begins on the first day of the year and ends with the last date in the specified date column after applying specified filters.
https://dax.guide/totalytd/