Forum Discussion
mikeborg82
Advocate II
8 years agoDAX help
PY YTD Terms = CALCULATE(DISTINCTCOUNT(Terms[Employee Number]),FILTER(SAMEPERIODLASTYEAR('Date Dim'[Date]),CONTAINS(VALUES('Date Dim'[Prior Year]), 'Date Dim'[Prior Year], 'Date Dim'[Date]))) I h...
- 8 years ago
Ashish_Mathur
Super User
8 years agoHi,
How about this
=CALCULATE(DISTINCTCOUNT(Terms[Employee Number]),SAMEPERIODLASTYEAR('Date Dim'[Date]))mikeborg82
Advocate II
8 years agoOddly, this did not work. I get the same results with this calc (all of prior year), not just YTD last year at this time..