The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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?
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.
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.
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
76 | |
65 | |
52 | |
51 |
User | Count |
---|---|
128 | |
117 | |
78 | |
65 | |
63 |