Forum Discussion
julsr
Continued Contributor
1 year agoDatesMTD error when using all the data in my database
Hello everyone! I'm using the datesMTD calculation to get Month To Date values. First, I used it with one year of data, and it worked. Now, I've tried using it for 13 years of information, and I'm ge...
- 1 year ago
julsr Try using below DAX
DAX
TotalMTDValue =
CALCULATE(
SUM(database[amount]),
DATESMTD(DatesTable[Date])
)
Anonymous
1 year agoNot applicable
Hi julsr ,
At my knowledge, using time intelligence functions requires the date table to be continuous and non-repeating date range.
Does your date table contain duplicate dates? If so, please try using the calendar() function to create a date table.
Best Regards,
Wearsky