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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors