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
Bbrown44
Advocate II
Advocate II

Select If DAX for 2 conditions

I have a table which is structured like the picture below:Select IF syntax.JPG

 

I wanted to create a measure where:

IF (Outreach Status = 'Outreach Needed' OR CL36B - BP 09272019.Outreach Status ='Outreach Needed'

Then, "Outreach Needed"  ELSE "No Outreach Needed")

 

Please advise,

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Is this not working for you

 

IF (Outreach Status = 'Outreach Needed' ||  CL36B - BP 09272019.Outreach Status ='Outreach Needed', "Outreach Needed" , "No Outreach Needed")

You need to choose tablename[columnname]

 

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Bbrown44 

 

Try this one:

IF (MAX('Table'[Outreach Status]) = "Outreach Needed" ||MAX('Table'[CL36B - BP 09272019.Outreach Status]) = "Outreach Needed", "Outreach Needed" , "No Outreach Needed")
Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

Is this not working for you

 

IF (Outreach Status = 'Outreach Needed' ||  CL36B - BP 09272019.Outreach Status ='Outreach Needed', "Outreach Needed" , "No Outreach Needed")

You need to choose tablename[columnname]

 

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.