3 Replies Latest reply: Oct 5, 2016 7:46 AM by Robert Mika RSS

    Store outcome of an expression in a variable

    Marc van der Peet

      Dear all,

       

      I have the following dataset:

       

       

      LOAD * INLINE [
      ACTIVITY_ID2
      1
      2
      3
      ]
      ;

       

      Right now I have a text box that shows the number of ACTIVITY_ID. This works fine but now I would like to store the value in a variable. So I create a variable called varTest with the following:

       

      =count(ACTIVITY_ID2)

       

      But if I want to insert this variable in a textbox now like this:

       

      =$(varTest)

       

      I do get anything. Any thoughts on where this goes wrong?