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

We'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

Reply
Giorgi1989
Advocate II
Advocate II

Calculate Min, Max, AVG whilst ignoring slicer selection

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!

 

 

1 ACCEPTED SOLUTION
tamerj1
Community Champion
Community Champion

Hi @Giorgi1989 

try something like

CALCULATE ( [measure], REMOVEFILTERS ( 'Product' ), VALUES ( 'Product'[Category] ) )

View solution in original post

2 REPLIES 2
tamerj1
Community Champion
Community Champion

Hi @Giorgi1989 

try something like

CALCULATE ( [measure], REMOVEFILTERS ( 'Product' ), VALUES ( 'Product'[Category] ) )

Thank you so much! This works like a charm! Thank you!!!

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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