4 Replies Latest reply on Jun 24, 2013 10:56 AM by Eric Frishman

    How to write CASE statement with AND

    philip ken

      Hi All,

      I would like to write below statement in Tableu.Not sure how to write.

      CASE WHEN [COUNTRY] ="USA" AND [STATE] = "NY" THEN 'AMERICA' ELSE [COUNTRY] END

       

      Basically I am putting here multiple condition on my statement.