6 Replies Latest reply: Oct 27, 2015 2:42 AM by Ray Zhang RSS

    Variables in Qlik Sense

    Sat Vas

      Hi

       

      I was trying to create a variable using peek() function in Qlik sense Script editor. But no value was assigned to the variable. Can someone please help me here?

       

      MaxYear:
      LOAD MaxFY
      FROM
      [lib://Documents/MaxFY.qvd]
      (qvd);

      let vMaxYear= peek('MaxFY');
      let vLastYear=$(vMaxYear)-1;

       

      Thanks