Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

simondachstr
Valued Contributor 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
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!

simondachstr
Valued Contributor III

Re: How to delete all my variables within an app

Nope, the script approach does not work in QS.

Re: How to delete all my variables within an app

I think you will need an extension ...

- Marcus

simondachstr
Valued Contributor III

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

prahladind9
New Contributor III

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

simondachstr
Valued Contributor III

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.

darkhorse
Valued Contributor

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

Community Browser