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
Anonymous
Not applicable

Top N on multiple fields

I have a table with follwing 4 fields

1- CAT

2- SubCAT

3- DetailCAT

4- Sales

 

I have created a Bar chart with drill down on Cat--> SubCat-->DetailCat on X Axis and value is SUM(Sales)

 

I want to show Top 10 of CAT initially on the bar chart, then when I drill down to next level (SUBCAT), we want to see TOP 10 of SUBCAT, and then when we drill down to next level, we want to see TOP 10 of  DetailCAT

 

Thanks in Advance.

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

No, it can't be achieved.

 

For numeric field, like Sales, it's not possible to add TOP N filter.

 

For different level CAT field, we can apply a TOP N filter. However, once you apply a TOP N filter on one level, all other levels are fixed, which means you can't make each CAT level keep only TOP N entries when drill down. 

 

123.PNG

 

Regards,

Greg_Deckler
Community Champion
Community Champion

I would think that would be able to put your Sales in your visual and just use the Filters area to do a TopN filter on it that should work as you drill down through the categories.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.