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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
simondachstr
Specialist III
Specialist III

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
Specialist III
Specialist III
Author

Nope, the script approach does not work in QS.

marcus_sommer
MVP
MVP

I think you will need an extension ...

- Marcus

simondachstr
Specialist III
Specialist III
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
Specialist III
Specialist III
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