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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
raymond
Post Patron
Post Patron

Filter Pane: Top n AND greater than by another value

Hello,

 

I want to filter a visual/ table and show only the top n products by profit margin. But I want only those top n products that sold at least a quantity of  a 100 pieces.

 

I tried to use the filter pane but the result was an empty table.

 

It seems as if power bi 1. filters the top n values (Usually they consist of products with a high profit margin) and 2. it filters by quantity > 100. Since the top n products all have less than a 100 in quantity the result shows an empty table.

 

Any idea how to fix that?

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @raymond ,

 

1. filters the top n values (Usually they consist of products with a high profit margin) 

2. it filters by quantity > 100. Since the top n products all have less than a 100 in quantity .

 

The set that satisfies these two conditions is an empty set, right?

You need to use two visuals to display Top N and the quantity> 100 respectively. And you need to use 'Filters on this visual' to filter the data.

v-lionel-msft_0-1603442508100.png

 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

I thought I have respondet already. I am experiencing a couple of glitches in this forum lately.

 

@v-lionel-msft : Thank you! But unfortunately this is not the right solution. My client wants to have it all in one chart. I solved it somehow through calculated columns respectively power query. This results in a lot of calculations and helper columns/ tables for a seemingly simple problem.

Hi @raymond ,

 

Maybe you can refer to this practice again, I hope it helps you.

v-lionel-msft_0-1604388420524.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors