Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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!!!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |