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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Can a button change the variable in an input box

Dear Qlikview User

I have an input box which has 3 variables.  The Pre defined values in a drop down are selected and the user can select either Department, Location or City

v1 = Department

v2=  Location

v3 = City

The Input box controls what is seen through the drill down group in a straight table

At the top of the page I have a heading I.e. Department, Location and City.  What I ideally need is each heading to be a button and when the user clicks on the button, the drop down list in the input box also changes

Is this a possibility?

Kind Regards

Helen

Labels (1)
5 Replies
stabben23
Partner - Master
Partner - Master

So you need 3 buttons, one for each heading, right? Create 3 buttons on add Action-->External-->Set Variable.

helen_pip
Creator III
Creator III
Author

Hello Staffan

Thank you for your response

My input box has 3 variables and are available through the drop down list.  I have tried placing a button on my heading as suggested, and setting a variable through an action

I.e. v1 = Department

However, the input box does not interact with the variable

Kind Regards

Helen

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi Helen,

Hope the attached sample will help you. just add a dummy trigger to the Button. automatically the input box value is assigned to variable.

krishnacbe
Partner - Specialist III
Partner - Specialist III

+ Attachement

stabben23
Partner - Master
Partner - Master

If you use GetFieldSelection(Variable/Fieldname) in Your heading, is that an option?