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
JChart
Regular Visitor

IF AND 3 Conditions

First post and I'm hoping you are able to help.

 

I am trying to build a conditoinal statement using 3 separate fields of data, but I'm not sure how to achieve this.

 

In a perfect world, I could use IF(AND(Logical1,Logical2),"True","False"). I could then enter each conditional statement for each logical component, but I can only use 2 arguments.


What is the best function to use for 3 logical arguments?

 

i.e. 

if Field1 = "X", and Field2 = "Y", and Field3 > Z,  "True","False"

 

Thanks!

 

 

1 ACCEPTED SOLUTION
CrisYan
Resolver III
Resolver III

IF(Field1 = "X" && Field2 = "Y" && and Field3 > Z, "True","False")

View solution in original post

1 REPLY 1
CrisYan
Resolver III
Resolver III

IF(Field1 = "X" && Field2 = "Y" && and Field3 > Z, "True","False")

Helpful resources

Announcements
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.