Discussion Board for collaboration on QlikView Layout & Visualizations.
I have defined one variable "var_zoom" and created a slider.
Although I have got the desired behaviour, I have noticed that, when I click on "Clear" button, that does not affect the niether slider nor the variable nor the whole QlikView sheet.
Why is that? Is it possible to override this behaviour? In bottom line is it posible to set a default value for a variable?
This will allow you to give the variable a default value when you open the document
Document Properties -> Triggers -> On Open -> Add Action -> External -> Set Variable
But you also want it to reset when there is a "clear" on the document?
The clear button only clears selections. It does not change variable values. You need to use a Set Variable action to change a variable. You could use a button to execute both a Clear All action and the Set Variable action.
Exactly - I want it to reset when there is a "clear" on a document.
So add a button that clears selections and resets the variable in two separate actions