Forum Discussion

guna_knp's avatar
guna_knp
Regular Visitor
2 years ago
Solved

Unable to implement IF and Text contains in m Query

HI, 

 

I am trying to implement below M query, however gets the error message "Token 'Then' expected", can somebody help me here

 

if Text.Contains([Manager],"On Leave") AND [Grandparent]="" THEN "Error" ELSE"No Error"

2 Replies

  • Hi guna_knp ,

     

    I beleive that the "then" and the "else" need to be lower case.  Try that and let us know.