This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Dear All,
What I am trying to achieve:
Calculate Min, Max, and AVG gross profit % for 'Product Category', whilst ignoring the slicer selection of 'Product'.
So, when I select a 'Product' (e.g. Galaxy S20) in the slicer selection, I don't want my Min/Max/AVG gross margin % measures to show values only for 'Galaxy S20' (i.e. 'Product'), but instead I want to see Min/Max/AVG for the entire 'Product Category' (e.g. 'Smartphones').
In other words, at the end of the day, I want to compare 'Product' gross margin % with the entire 'Product Category' gross margin %.
Any tips appreciated! I have tried a few measures so far to no avail, but I will continue trying new things out!
Thank you all!
Solved! Go to Solution.
Hi @Giorgi1989
try something like
CALCULATE ( [measure], REMOVEFILTERS ( 'Product' ), VALUES ( 'Product'[Category] ) )
Hi @Giorgi1989
try something like
CALCULATE ( [measure], REMOVEFILTERS ( 'Product' ), VALUES ( 'Product'[Category] ) )
Thank you so much! This works like a charm! Thank you!!!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 7 | |
| 6 | |
| 6 |