Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

AND() function

$
0
0

Hi everyone,

 

I'm trying to create a column which checks the content of 2 existing columns and if column1 contains "something" and column2 contains "anything" then "result1" else "result2".

 

This is how it looks like: Column = if(AND(Text.Contains([Column1], "something"), Text.Contains([Column2], "anything"))) then "result" else "other"

 

There is no syntax error in it, but if I try to create it, it gives me this error message: "Expression.Error: The name 'AND' wasn't recognized.  Make sure it's spelled correctly."

 

Anyone has any idea what is the problem with it?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 213819

Trending Articles