1 Reply Latest reply on Oct 19, 2016 10:04 AM by Joe Oppelt

    Count field based on condition in other field

    Kyle Merosi

      Hi,

      I am trying to create a Tableau calculated field. Can someone help me rewrite the following code so that it uses the correct syntax?

       

          COUNT([Type of Event]
          IF(CONTAINS([Name of Event], "CANCELLED") = false)
          THEN 1 END)

       

      Thank you