14 Replies Latest reply: May 17, 2013 4:51 AM by Robert Ebner RSS

    if with a variable

    Robert Ebner

      Hi all,


      I have a problem with the following skript:


      if ($(Menu) = 1,

      sum (Stunden where Reiszeit = 'Nein'),         // only Stunden with "Nein"

      sum (Stunden)) as Stunden_Projekt             // all Stunden


      I would like to controll the two different sums per variable.

      The problem is that I don't get the right skript for this.


      Thank you for helping