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
wilberk
Frequent Visitor

TOP N Filter in the slicer visualization

Is there a way to have a top N filter in a slicer visualization so users can change the N variable to top 5, top 10, ect. 


I need to keep the filter pane hidden when  I publish the dashboard so do not want to use the top N filter there because users will not see it once published. 

 

I have attached a screenshot highlighting in yellow that I need to have the filters pane hidden so do not want to do a top N filter by the way of the red X. I want to give users a filter such as circled in the blue for them to put whatever number they would like and get the top list based on that user inputed number. 

wilberk_0-1721245728128.png

 

1 ACCEPTED SOLUTION
meeen-ware
New Member

Yes, you can follow these instructions. I has worked great. Basically, create a new table with your top N values, create a RANK use your selected value as a limit, and create a measure using this rank.

View solution in original post

1 REPLY 1
meeen-ware
New Member

Yes, you can follow these instructions. I has worked great. Basically, create a new table with your top N values, create a RANK use your selected value as a limit, and create a measure using this rank.

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.