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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Emmy88_
Helper I
Helper I

Multiple filters calculate funtion

Hi all,

 

Still a dax newbie, does anyone know the function for the following:

 

Measure for a matrix for accounts including

 

  • all accounts with volume 0-80k, all products
  • Except products wo-40 and wo-50 with a volume of 40 -80k

I want to use the calculate function, but not sure how to combine different volume filters for different product groups.

 

Emmy88__0-1676640732544.png

 

Thank you!

 

Emmy

 

 

 

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

Share some data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hereby a simple example. 

 

I would like to build a measure showing all volume for all products from all clients with more than or equal to 60. Except for product a i would also like to show volume if sold 50 or more.

 

Emmy88__1-1677068948153.png

 

I have tried the underneath measure but it does not work unfortunately:

 

Emmy88__2-1677068976178.png

 

Hi,

I do not understand your question.  Someoe who does will help you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Shipped = sumx(Filter('Table','Table'[Volume]>=60 || 'Table'[Product]="a" && 'Table'[Volume]>=50 ),[Volume])
lbendlin
Super User
Super User

Filters are applied on top of each other.  Power BI observes Boolean math.

 

Calculate (something,

volume <=80k,

product not in list (wo-40,wo-50) or volume <40k

)

 

I tried your measure with one of the products i would like to make an exception for with lower volume, however it does not show the right outcome. What am i doing wrong?

 

Emmy88__0-1677068539639.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.