Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Can a button control the variables in an input box?

Dear Qlikview user

I have an input box which lists 5 variables. I would like to know if a button can control the variables within the input box

P.s I am using the input box like a list box and have unticked  Enable edit expression dialog

Kind Regards

Helen

3 Replies
t_chetirbok
Creator III
Creator III

Hi Helen!

What exactly button should be able to do with variable.

Can you share some example?

Thanks

santiago_respane
Specialist
Specialist

Hi,

what do you mean by button to control variables?

Increase or decrease their value?

If yes, this can be done as follows:

  • Add a button
    • Add an action
      • Type External / Set variable
      • Basic Example to increase variable
        • MyVar
        • =$(MyVar) + 1
      • Basic Example to increase variable
        • MyVar
        • =$(MyVar) - 1

It is not an easy task to give a solution without understanding your issue.

Let me know if this helps, and if you need more info.

Kind regards,

Siva_Sankar
Master II
Master II

Helen,

You can do that. Find the attached example.

Siva