Forum Discussion
Jake_Neyu
4 years agoFrequent Visitor
Unexpected result when using ALL within CALCULATE
I have 2 measures: Measure 1: agent total all = CALCULATE(DISTINCTCOUNT(tms[agent]),all(tms[agent])) Measure 2: agent total alls = CALCULATE(DISTINCTCOUNT(tms[agent]),ALLSELECTED(tms[agent]))...
v-yanjiang-msft
Community Support
4 years agoHi Jake_Neyu ,
According to your description, modify the formula like this:
agent total all =
CALCULATE ( DISTINCTCOUNT ( tms[agent] ), ALL ( tms ) )
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.