Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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