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

Conditional column-IFAND function

How to write these condition in conditional column and add column

=IF(AND(A2<A3, A2<100), A2, "The value is out of range")

 
3 ACCEPTED SOLUTIONS

you should create calculation column:

 

calculation column name =IF(AND([column A2]<[column A3], [column A2]<100), [column A2], "The value is out of range")

 

View solution in original post

if I answered at your question please mark topiс as resolved 🙂

View solution in original post

9 REPLIES 9
amanuit
Regular Visitor

Thank you very much!

amanuit
Regular Visitor

Can we also implement other Excel functions like ISERROR, MATCH, AND, OR etc

amitchandak
Super User
Super User

@amanuit , Please check the reply from @SolomonovAnton first

Then try

IF(AND(A2<A3, A2<100), A2, "The value is out of range")

 

or

 

 

IF( A2<A3 &&  A2<100 , A2, "The value is out of range")

SolomonovAnton
Responsive Resident
Responsive Resident

hello !

first of all I think you have error in this expression

=IF(AND(A2<A3, A2,100), A2, "The value is out of range")
what do you want to say in it expression AND(A2<A3, A2,100) ?

Edited, this is excel equation and want to implement same in Power BI.

you should create calculation column:

 

calculation column name =IF(AND([column A2]<[column A3], [column A2]<100), [column A2], "The value is out of range")

 

where can i find Calculation column option, is it same like custom calculation?

if I answered at your question please mark topiс as resolved 🙂

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.