Forum Discussion
ArchStanton
Power Participant
2 years agoDatesYTD Error
Hi, I want to use DatesYTD instead of Total YTD because DatesYTD accepts more filters. I want to filter on the Created on date being after 31/03/2020 The following code is not working: C...
- 2 years ago
I've managed to fix it, thanks for your help anyway!
TotalYTD does allow multiple filters contrary to what Ive been told:
Closed Cases YTD2 = CALCULATE( TOTALYTD(COUNT('Cases'[Case Number]),'Cases'[Resolution Date],"31/03"), 'Cases'[statecode] = "Resolved", 'Cases'[Created On] > DATEVALUE("31/3/2020"))
ChiragGarg2512
Solution Sage
2 years agoArchStanton , Its comparing the type date with type text which is creating the problem. Instead of "31/03/2020" write Date(2020, 3, 31).