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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
gjadal
Employee
Employee

Top X with filter

I have a two charts displayed on my dashboard.

The first one displays a funnel for categories

The second one displays the top 10 items based on occurence.

When no category is selected, I want the overall top 10 items

But when a category is selected, I want the itemlist to be resorted to display the top 10 for that category.

Need a sample for doing this.

1 ACCEPTED SOLUTION

I have too done it with RANKX.  Check out this article:

 

http://www.daxpatterns.com/parameter-table/

 

Scroll to the section called Limit Top N Elements in a Ranking for an example where the N is dynamic (but then you may set it to 10 internally).

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

View solution in original post

3 REPLIES 3
kcantor
Community Champion
Community Champion

While I do not currently have a sample available, I have successfully completed this by creating a RANKX based upon product performance and adding a filter to only show the top (or bottom) 25. As the slicers are selected the RANKX retains numerical order but filters out those that are not int he top performers.

You may also be able to use a version of TopN





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




I have too done it with RANKX.  Check out this article:

 

http://www.daxpatterns.com/parameter-table/

 

Scroll to the section called Limit Top N Elements in a Ranking for an example where the N is dynamic (but then you may set it to 10 internally).

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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