Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variables

Hi,

Memory requirements wise, Is it better to use variables in the load script or the front-end ?

After all the load script variables also appear in the same list as the front-end variables.

Regards

2 Replies
thomas_skariah
Creator III
Creator III

Hi,

If you write variables in load script, then everytime when you make changes in variable you have to reload the application.

but if you do it in front end then it reflect accordingly.For Memorywise  requirements its better to do in scripting side.

Regards,

Tom

erichshiino
Partner - Master
Partner - Master

You can create variables in the script to be calculated at the front end.

You could use this:

var = 'sum( Expression1)' ;

In this case var will be a formula and in a chart you can define that the expression is

=$(var)

In this case, I'd say that the result is the same. You define a variable in the script and it will be calculated depending on selections and dimensions of your object.

The difference is that the definition is protected in the script.

Other variables will be erase if you open your qvws without data.

Regars,

Erich