Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Skip the ticket, Chat with Qlik Support instead for instant assistance.
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

Set a variable in Load Script

Hello Everyone !

I need your help on this problem :

I need to change the value when the user changes it in the app (0 to 1)of a variable already existing in the load script (if the user changes the value => variable = 2)

Thank you for your answers.


Labels (3)
1 Reply
Partner - Creator III
Partner - Creator III

after the then , press enter and type let and then $(tTriggerKO)....  also close this if statement with endif (inside the loop)

but if Nom_Ctrl has more then 1 value in the data set this statement will only change 1 time because after the first iteration the variable is already 2 .


if you don't want that you can move this let statement to the end of the script and do something like this

if $(vTest) = 1 then;
let vTest = 2;