Forum Discussion
edcdcpowerbi
Helper I
4 years agoCALCULATE filtering table by conditional measure
I have two measures which calculate initial and final scores. I now wish to have a measure which has all the clients who finished with a higher final score. A bit lost on how to go about it, this...
- 4 years ago
Hi edcdcpowerbi ,
Please try the following formula:
Measure = CALCULATE ( DISTINCTCOUNT ( 'Client'[ID] ), FILTER ( ALLSELECTED ( Client[ID] ), [Final Score] > [Initial Score] ) )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
edcdcpowerbi
Helper I
4 years agoThe initial measures are creates with this measure:
CALCULATE(SUM('Client')'[Total Score]),'Client[Stage] = "Final")
CALCULATE(SUM('Client')'[Total Score]),'Client[Stage] = "Initial")
vikrambasriyar
Helper I
4 years agoCan you check the syntax of your measure. I think its not correct.
- edcdcpowerbi4 years ago
Helper I
Syntax is correct for the initial and final measures, they are bringing through the correct numbers