Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Luminary
Luminary

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
balrajahlawat
Esteemed Contributor

Re: How to delete all my variables within an app

adamdavi3s
Honored Contributor

Re: How to delete all my variables within an app

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

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

Luminary
Luminary

Re: How to delete all my variables within an app

Nope, the script approach does not work in QS.

MVP & Luminary
MVP & Luminary

Re: How to delete all my variables within an app

I think you will need an extension ...

- Marcus

Luminary
Luminary

Re: How to delete all my variables within an app

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...

Partner
Partner

Re: How to delete all my variables within an app

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....

Luminary
Luminary

Re: How to delete all my variables within an app

Cowboy style

jennyhell
New Contributor II

Re: How to delete all my variables within an app

Has anyone a solution?

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

Highlighted
Partner
Partner

Re: How to delete all my variables within an app

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