Forum Discussion
Nick221_
3 years agoFrequent Visitor
RankX duplicate rank
I have a rankx that will rank the total number of High Severity responses. I have the rank to prioritze number of Immediate high responses for a tie breaker. However, I do not want ranks to duplicate. Example below. How can I add an additional tie breaker in my existing formula so there are no dupicates in my rankings.
Formula
=RANKX(ALLSELECTED(Risks[Risk]),RANKX(ALLSELECTED(Risks[Risk]),CALCULATE(SUM('Survey2022'[High])))+DIVIDE(RANKX(ALLSELECTED('Risks'[Risk]),CALCULATE(SUM('Survey 2022'[Immediate High]))),COUNTROWS(ALLSELECTED('Risks'[Risk]))+1),,ASC)
Nick221_ You can add a random number. Another way is using this: The Mythical DAX Index - Microsoft Power BI Community.
2 Replies
- Greg_Deckler
Community Champion
Nick221_ You can add a random number. Another way is using this: The Mythical DAX Index - Microsoft Power BI Community.
- Nick221_Frequent Visitor
Thanks! That worked.