DATESYTD function (DAX) - DAX | Microsoft Learn
https://learn.microsoft.com/en-us/dax/datesytd-function-dax
= CALCULATE(SUM(InternetSales_USD[SalesAmount_USD]), DATESYTD(DateTime[DateKey])) The following sample formula creates a measure that calculates the 'Fiscal Year Running Total' for Internet sales, using a US Locale for the Date format. See more The following sample formula creates a measure that calculates the 'Running Total' for Internet sales. A reference to a date/time column, A table expression that returns a single column of date/time values, A Boolean expression that defines a single-column table of date/time values.
The following sample formula creates a measure that calculates the 'Running Total' for Internet sales.
A reference to a date/time column,
A table expression that returns a single column of date/time values,
A Boolean expression that defines a single-column table of date/time values.
DA: 11 PA: 49 MOZ Rank: 52