Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
simondachstr
Luminary Alumni
Luminary Alumni

How to delete all my variables within an app

Hi,

How can I delete all my variables within an app at once, rather than going through each and deleting them one by one?

Any insights or ideas would be greatly appreciated.

Thanks,

Martin

9 Replies
Anonymous
Not applicable

adamdavi3s
Master
Master

I don't think it is possible to script this unfortunately!

Even a ctrl+a function in the variables window would be useful!

simondachstr
Luminary Alumni
Luminary Alumni
Author

Nope, the script approach does not work in QS.

marcus_sommer

I think you will need an extension ...

- Marcus

simondachstr
Luminary Alumni
Luminary Alumni
Author

I am a bit afraid this will become my only solution...

But unfortunately, the Variable API does not list a "delete" method..

https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/APIs/Content/MashupAPI/qlik-variable-inte...

prahladind9
Partner - Contributor III
Partner - Contributor III

There is no functionality as of now in Qlik Sense to delete all the variables at once.

I wish it were but for now we must follow the same old way.

https://help.qlik.com/en-US/sense/3.0/Subsystems/Hub/Content/Variables/delete-variable-using-dialog....

simondachstr
Luminary Alumni
Luminary Alumni
Author

Cowboy style

Anonymous
Not applicable

Has anyone a solution?

We have thousends of variables and it is impossible to delete them manually.

Anonymous
Not applicable

Hi,

I don't think it will delete your variables but for future applications a very handy method to keep variables in Excel.

I know this works perfectly in QlikView. You can try for Qlik Sense as well. Declare variables in Script editor window using set analysis

Best Regards

Serhan