Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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?
Many thanks in advance!
Solved! Go to Solution.
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:]
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
That was perfecft! Thank you very much!
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:]
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
21 | |
21 | |
19 | |
13 | |
12 |
User | Count |
---|---|
42 | |
28 | |
23 | |
22 | |
22 |