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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Pbiuserr
Post Prodigy
Post Prodigy

TOP N best approach

Hello,

I have a field parameter containing 5 dimensions

For one dimension I need be able to display either full chart or TOP N (lets say TOP 10)

 

How to achieve that? By bookmarks? If yes, then how you drag that once you click TOP10 button, the bookmark always stays at the same one requested parameter while all filters are applied and then you can go back to full display? I dont have much space, so if I can done it in one button would be fantasitc

2 REPLIES 2
amitchandak
Super User
Super User

@Pbiuserr , Create a TOPN measure using what if and keep the value of N very high initially, you can change it 10 to a number as per need. This value can be saved with a bookmark too

 

https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...

 

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi Amit,

Thanks its really interesting. My question is: what if I have in chart (so table in this way) two measures. It filters properly like TOP10 from desired measure, but it left also the ones who have any value in previous one (like Sales Amount and Sales amount LY). It gives me TOP10, but also any other value in axis which got anything in Sales amount LY. Any way to solve that?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.