Forum Discussion
Anonymous
3 years agoNot applicable
Exclude Users from Ranking RANKX
Jolly Day,
I am needing to exclude three users from being included in the ranking. What I currently have just inserts a dash where there ranking number would be and are still being ranked. Could someone help me with a measure to completely exclude them?
Entry Rank = IF(SELECTEDVALUE (System_Users[Account]) IN {"cbelcher","pkessell","kcole"}, "-",
RANKX(ALL(System_Users),Audit[Sum Entry])
)
Many thanks in advance!
Hi,
I tried to create a sample pbix file like below.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Expected rank measure: = IF ( SELECTEDVALUE ( System_Users[Account] ) IN { "A001", "A002", "A003" }, "-", RANKX ( FILTER ( ALL ( System_Users ), NOT ( System_Users[Account] IN { "A001", "A002", "A003" } ) ), [Value measure:] ) )
2 Replies
- AnonymousNot applicable
That was perfecft! Thank you very much!
- Jihwan_KimSuper User
Hi,
I tried to create a sample pbix file like below.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Expected rank measure: = IF ( SELECTEDVALUE ( System_Users[Account] ) IN { "A001", "A002", "A003" }, "-", RANKX ( FILTER ( ALL ( System_Users ), NOT ( System_Users[Account] IN { "A001", "A002", "A003" } ) ), [Value measure:] ) )