Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sanabritto
Regular Visitor

Rankx Filtering

Hi, I'm trying to create a "top 10" dashboard for the top 10 customer calls to a help desk. In order to identify the top 10 callers, I have created a RANKX measure as follows: 

Company Rank = RANKX(ALL('Top 10 - Q1'[Company Name]),[Call Count],,DESC)
 
This seems to work fine for me as the top 10 callers are being identified.
 
However, I want to add this measure as a filter to my visuals. For example, what top 5 services are my top 10 customers calling for. I have already used a 'Top N' filter on this visual for 'Top 5 Services'. Since I cannot add two 'Top N' filters to a visual, I thought doing a 'less than or equal to' on a RANKX measure would work but for some reason the filter does not work for me. Is there a way to work around this? 
 
 
1 REPLY 1
Stachu
Community Champion
Community Champion

Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).

Column1 Column2
A 1
B 2.5

 



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.