4 Replies Latest reply: Aug 9, 2016 9:40 PM by Rob Wunderlich RSS

    How to get the reduction field value into script

    Shantnu Patel

      I am using loop reduce by Country field .

      I have 2 values in Country field US, UK so job is creating 2 QVWs from main qvw.

      But in the qlikview script we have defined variable


      LET LOC = if(Country='US',1,2);


      but when ever i am running the job , it is creating two Qvws but LOC is always assigning 2.

      Please let me know how to Pass the Country Field value into script from reduction field.