2 Replies Latest reply on Sep 6, 2018 4:55 PM by Esther Aller

    Calculated Field Based on Parameter Value?

    Todd Moses

      IF [Parameter 1] = 'Y' THEN

          [SOURCE1].[FIELD1]

      ELSE

          [SOURCE2].[FIELD1]   

      END

       

      It seems like Tableau needs to hit the data source for the values of each path in this statement before use.  Can anyone confirm that this is what it is doing?

       

      Ultimately, I'm trying to find a way to populate a parameter or filter field with a list of values, but I want it to load quickly, so I'm trying to give that criteria a simple data set when the dashboard loads.

       

      Thanks.