The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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:]
)
)
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:]
)
)
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |