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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Shi
Partner - Contributor III
Partner - Contributor III

Create a Variable

Hi everyone!

I have a question...what should the difference in creating a variable in the edit sheet or in the script load? Why I should choose one way or the other? In which cases should be better one option than the other, or the limits of one option?

Thanks in advance!

1 Solution

Accepted Solutions
ArnadoSandoval
Specialist II
Specialist II

Hi @Shi 

Script variables are initialized each time you run the script, while sheet variables are not! they preserve the value between reloads!

hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.

View solution in original post

1 Reply
ArnadoSandoval
Specialist II
Specialist II

Hi @Shi 

Script variables are initialized each time you run the script, while sheet variables are not! they preserve the value between reloads!

hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.