6 Replies Latest reply on Jun 6, 2016 2:11 AM by tobias.korte

    Problem with IF-Function with NOT ISNULL and AND

    tobias.korte

      Hello,

       

      I tried to use the following logic in tableau:

       

      IF not isnull([Field1]) and [Field2] ="AAA" THEN "XXX"

      ELSEIF not isnull([Field1]) and [Field2] ="BBB" THEN "XXX"

      ELSEIF not isnull([Field1]) and [Field2] ="CCC" THEN "XXX"

      ELSE "YYY" END

       

      But I did not get the correct results.

       

      Thanks for your support.

       

      Regards,