Forum Discussion
DMB90
4 years agoHelper II
OR Statement with Two Different Criteria
This is my formula. I'm trying to say if either 4.IA Due Date = 0 or
[0.1 Adj Test Phase="Interim (1)" and T2 Due Date = 0], then say "Unscheduled" and if not then say "Scheduled"
Formula:
2.Scheduled vs. Unscheduled = IF('Control Testing'[4.IA Due Date]=0 || ('Control Testing'[0.1 Adj Test Phase]="Interim (1)"&&'Control Testing'[T2 Due Date]=0),"Unscheduled","Scheduled")
- Anonymous4 years ago
Hi DMB90 ,
Please try this code.
2.Scheduled vs. Unscheduled = IF ( OR ( 'Control Testing'[4.IA Due Date] = 0, AND ( 'Control Testing'[0.1 Adj Test Phase] = "Interim (1)", 'Control Testing'[T2 Due Date] = 0 ) ), "Unscheduled", "Scheduled" )Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- ryan_mayuSuper User
could you pls provide the sample data ?
- AnonymousNot applicable
Hi DMB90 ,
Please try this code.
2.Scheduled vs. Unscheduled = IF ( OR ( 'Control Testing'[4.IA Due Date] = 0, AND ( 'Control Testing'[0.1 Adj Test Phase] = "Interim (1)", 'Control Testing'[T2 Due Date] = 0 ) ), "Unscheduled", "Scheduled" )Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.