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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I want create variable in script level ?

Hi

  i want create a N no of variable in script level .how i can do any one suggests me

  v1=1,

v2=2,

v3=3,

v4=4,

.

.

..

.

.

.

vn=n    like that

1 Reply
Not applicable
Author

try this script

let n = 50;

let fieldName = 'V';

for i = 1 to n

     let $(fieldName)$(i) = $(i);

next i