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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AKR27
New Member

undefined

Hi! I am building a measure in DAX and running into some problems with the denominator which is made up of the conditional statement below.

 

(A or B) and not C and D

 

Using CALCULATE, but wondering if I should be using COUNT or something else.

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

@AKR27 

Try to include FILTER function inside CALCULATE and place your conditions inside. You might need to have multiple FILTER functions if the conditions invlove multiple tables. 

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

@AKR27 

Try to include FILTER function inside CALCULATE and place your conditions inside. You might need to have multiple FILTER functions if the conditions invlove multiple tables. 

I agree with your recommendation. I was attempting to use FILTER as well so I will explore that and test. Thank you.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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