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
DMB90
Helper I
Helper I

Multiple OR statements with AND and NOT statements

I have the following formula I'm working on. I want to say if the column contains "error" and the other column is not letters D, W, I, A, F or R, then mark the new column as a true statement. Only the first statement with the D is pulling in properly but not all the other possible conditions.

 

DMB90_0-1654119347503.png

 

 

 

1 ACCEPTED SOLUTION
sevenhills
Super User
Super User

Not clear your image, post the syntax as text ...

 

Try this?

Monday Errors = AND (

         Timesheet[Error] = "Error"

          , NOT Timesheet[Mon - Comment] IN { "D", "W", "I", "A", "F", "R" }

   )

View solution in original post

2 REPLIES 2
sevenhills
Super User
Super User

Not clear your image, post the syntax as text ...

 

Try this?

Monday Errors = AND (

         Timesheet[Error] = "Error"

          , NOT Timesheet[Mon - Comment] IN { "D", "W", "I", "A", "F", "R" }

   )

This works! Thank you!

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.

Top Solution Authors