12 Replies Latest reply: Sep 23, 2015 5:47 AM by Michal Kwater RSS

    set variable

      Hello,

       

      I would like to set a variable in expression :

       

      Expression :

      sum({$<Round={'6'}>} Points)


      instead of 6 the variable should be : vLast

      vLast = Max({$<Played={'1'}>} Round)
      I put it in a script (also tried in Variable overview)
      SET vLast = Max({$<Played={'1'}>} Round).

       

      but when I put
      sum({$<Round={vLast}>} Points)
      the expression is not working.
      Separately expressions sum({$<Round={'6'}>} Points) and Max({$<Played={'1'}>} Round) are working.

       

      Can somebody have any idea ?

       

      Best thanks in advanced,