Forum Discussion
aritz001
3 years agoFrequent Visitor
Help with Total calculation when using DistinctCount
I used the following formula within a measure as suggested however my total is incorrect. The total for Staff Count column should be 8,850. SUM DISTINCT COUNT = VAR _DISTINCTCOUNT...
- 3 years ago
Hi aritz001 ,
Can you try using this measure instead -
Measure = SUMX(SUMMARIZE('tblTimeCombined_TimeDetail',
'tblTimeCombined_TimeDetail'[Date],"count", DISTINCTCOUNT ( 'tblTimeCombined_TimeDetail'[Staff ID] ) ),[count])
Hope this helps!Thanks,
Avantika Thakur
Avantika-Thakur
Solution Supplier
3 years agoHi aritz001 ,
Can you try using this measure instead -
Measure = SUMX(SUMMARIZE('tblTimeCombined_TimeDetail',
'tblTimeCombined_TimeDetail'[Date],"count", DISTINCTCOUNT ( 'tblTimeCombined_TimeDetail'[Staff ID] ) ),[count])
Hope this helps!
Thanks,
Avantika Thakur