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
Brighton10
Helper II
Helper II

Top N values

Hi 

 

I have a measure that I am using to filter my data to visualize top 20 customers by Fullname. The measure works well for top 20 because Total response has different values but if i choose bottom 20 it shows more than 20 customers because the measure shows the same value (Total response = 1)for all those customers. Is there a way just to visualize only top 20 not considering N>20?

My measure is basically summing up other measures then i use it as a filter on customer namefilter.PNG

Total responses = [report_a_bug2] + [Confirmed] + [QRScan] + [upload log files]
filter top n.PNG
1 ACCEPTED SOLUTION
daxer-almighty
Solution Sage
Solution Sage

4 REPLIES 4
daxer-almighty
Solution Sage
Solution Sage

Thanks @daxer-almighty Thats a pretty cool hack around it.😊

daxer-almighty
Solution Sage
Solution Sage

Yeah, that's easy. Create a measure that will order the customers not only by Total Responses but also will break ties using, for instance, customer id. Once you have such a measure, use it to filter the TOP20 customers.

@daxer-almighty  Thanks for your response. Do you care to show an example

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.