Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
rw77
Partner - Contributor
Partner - Contributor

Reset a variable with button

I define some variables in the script. There are some input fields for these variables on my sheet.
The user can filter the displayed data in the diagram. After loading the script all data are shown because the variables are not set. Afterwards the user enter some numbers in the inputfields to filter the data.

Now the user should reset the variables with a button to the original status without any content.
In QlikView it has worked with a button and the field with the new content was blank.

If I do the same in Qlik Sense the variable is not in the original status. The formula len(vfilter1) give me a 1.
Directly after loading the script this formular has a result 0.

If have also tried to set the varibale with =NULL() or ="", but the lenght is furthermore 1.

How can I set the variable to NULL?

Thank you.

 

 

 

 

Labels (1)
0 Replies