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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
lucarizziero
Partner - Contributor III
Partner - Contributor III

Clear/Delete a variable

Hi all,

I use some variables inside the load script, but I'd need to delete them after the loading has finished.

Thanks

12 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

It works for me in 8.5 and QV9 SR1. Given the script:

Set A=bcd;
SET A=;

or:
let a = null();

In both cases the variable does not appear in the front end. Note that the previous caveats in the thread still apply -- if the variable ever appears in the front end it must be deleted manually using the dialog.

-Rob

Not applicable


Rob Wunderlich wrote:
It works for me in 8.5 and QV9 SR1. Given the script:
Set A=bcd;
SET A=;
or:
let a = null();
In both cases the variable does not appear in the front end. Note that the previous caveats in the thread still apply -- if the variable ever appears in the front end it must be deleted manually using the dialog.
-Rob<div></div>


Thanks Rob,

now I have the point and could reproduce the logic behaviour:

As you said: If the variable ever appears in the front-end (after script load) it must be deleted manually ... :))

Best regards

Stefan

evan_kurowski
Specialist
Specialist

Hello Rob,  Thanks for the help.

Reading this carefully it was important for me to grasp the distinction between a script created var, and one that had a definition created via the Settings | Variable Overiew option.  I was confused why my variables were not deleting at times, and now it seems clearer.  Thank you.