1 Reply Latest reply on Jan 16, 2014 6:44 AM by Jonathan Drummey

    Condititonal R script execution

    Holger Bosch

      I have a calculated field with a R-script inside. I would like to execute the script only if a certain parameter is set (which is then assessed by a Tableau IF statement in the calculated field).

       

      I noticed that even when the "if" condition assessing the parameter is not fulfilled, the R-script gets executed, slowing down the process and requiring the same parameter check inside the R script to make it work.

       

       

      Any thoughts or help on this?

       

       

      Thanks in advance,

       

       

      Holger Bosch