5 Replies Latest reply on Feb 13, 2019 9:33 AM by maneesh.gaddam

    Tableau Error: Please Help!

    Pedro Davis

      Here is the code:

      (IF ([Outs On Play])+SUM(IF [Kor BB] = "Strikeout" THEN 1

          ELSE 0 END))/3


      And the error message I am getting is:
      "Expected 'THEN' to match 'IF' at character 1"




      Does anyone know what that means? And could anyone help me with it? Please and thank you