Forum Discussion
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")
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")if I answered at your question please mark topiс as resolved 🙂
9 Replies
- SolomonovAnton
Super User
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) ?- amanuitRegular Visitor
Edited, this is excel equation and want to implement same in Power BI.
- SolomonovAnton
Super User
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")
- amitchandak
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")
- amanuitRegular Visitor
Can we also implement other Excel functions like ISERROR, MATCH, AND, OR etc
- amanuitRegular Visitor
Thank you very much!