Forum Discussion
Anonymous
4 years agoNot applicable
undefined
Hi all, I have a table like this I want to assign ranks on the score based on score, i.e highest score will have rank 1 and 2nd highest will be rank 2 and so on.if the scores are tied, then s...
- 4 years ago
Hi Anonymous ,
Please try the measure.
Rank = RANKX ( ALLSELECTED ( 'Table'[ID] ), CALCULATE ( SUM ( 'Table'[Score] ) ), , DESC, DENSE )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.
v-kkf-msft
4 years agoCommunity Support
Hi Anonymous ,
Please try the measure.
Rank =
RANKX (
ALLSELECTED ( 'Table'[ID] ),
CALCULATE ( SUM ( 'Table'[Score] ) ),
,
DESC,
DENSE
)
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.