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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Conditional Top 20

I am new to Power BI so I appreciate all the help I can get.  I have a dashboard with a table. In the table I have the customer, net sales, gross sales and multiplier listed out for all regions.  I added a top 20 customer based on my multiplier.  My issue is when I have all regions displaying, my top 20 works great.  But when I click on the region it only gives me the the customers what were in the top 20 as a whole so out of 300 customers - I only get maybe 4 to show up.  I need to be able to have the top 20 as a whole but when the region is selected I then need to see the top 20 for that region.  How can I accomplish this? Thank you for your help.

3 REPLIES 3
Anonymous
Not applicable

Top20ALL.PNGTop20Region.PNG

 

 

 

 

 

 

 

 

 

 

The top pic shows what I have with Region ALL.  When I select a region as in the bottom pic you can see how it jumps and only shows the top 20 that were in the region based on all.  I need it to show me the top 20 based within the region when a region is selected.

Hi,

 

Here's an idea.  Create a rank measure.  Drag the rank measure to the filters section and apply a condition with <=20.  To get more specific help, share the link from where i can download your workbook.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Can you post your current measures and describe basic model layout?  Or provide sample file to look at?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.