Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
sagarwal16
Partner - Contributor II
Partner - Contributor II

Variable

Hi Qlik Experts,

Please help me in creating multiple variables in Qlikview script.

Like we have v1 till v60 so how can we automate the process by script and the value will be enter by the user at front end in input box. 

Please suggest how to create multiple variables.

Labels (1)
3 Replies
marcus_sommer

Maybe with:

for i = 1 to 60
   let v$(i) = 0;
next

sagarwal16
Partner - Contributor II
Partner - Contributor II
Author

Hi,

 

Its working as it is creating the variable but the problem is the value of each variable is 0 and when we are refreshing to the dashboard the values entered by the user in input box refreshed to 0. 

So please suggest if any other alternative where the user value does not change on refreshing the dashboard 

marcus_sommer

You don't need to re-create the variables with each reload - so after the initial run you could simply comment this snippet.