Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Difference between Variables created in script and Variables created in Variable overview

Hi All,

Please explain What are the differences between variables created in script as compare to variables created in Settings - Variable overview section?

Thanks

Neetha

1 Solution

Accepted Solutions
4 Replies
Not applicable
Author

as per my practice in both case variable value is same,but with only difference,

variable defined in script editor its scope is throughout the document means,we can use variable in back end as well as in front end.

but variable defined in variable overview its scope is limited to front end,we can not access variable on back end.

prieper
Master II
Master II

@Bhawna:

Think that the variables are available both sides,

but a variable created in the script might be deleted in the script again by NULLing it, e.g.

LET MyVariable = NULL();

Peter

Not applicable
Author

Hi Neeta,

One difference which i find is: the variables created in script requires a reload whereas in variable overview doesn't require.

Rest of the things are same, in script you can define using set or let whereas in overview directly we can define the required values.

Thanks,

Sai