3 Replies Latest reply on Nov 30, 2016 12:49 PM by Chris McClellan

    syntax for aggregating data in calculation

    noah Carraher

      Hello,

      I am wanting to create a calculation for the purpose of adding an additional line to a run chart. But I am running into problems with how I am writing my syntax (or I may be missing something bigger) . Any advice is welcome .

       

      Here's what I wrote. Tableau says it is valid, but it is not returning any data. Am I missing correct brackets?

       

      if ATTR([LocalRace])='111' then [percentcontrol2]  END

       

      thanks, noah