Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
444sofiane
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.

444sofiane_0-1669026176075.png

Labels (3)
1 Reply
MartW
Partner - Specialist
Partner - Specialist

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;

endif;