1 Reply Latest reply on Jun 8, 2016 1:17 AM by Mahfooj Khan

    multiple commands in "If" statement

    Elad Levy

      Hello all,

       

      is something like this possible to create in tableau?

       

      IF ISNULL(attr([Task Name])) THEN

          [Drill Down] = "Task"

          AVG([Task Duration (Seconds)])/[Time Type]

      ELSE

          AVG[Workflow Duration (Seconds)])/[Time Type]

          [Drill Down] = "WorkFlow"

      END