Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
MuraliPrasath
Creator III
Creator III

Button to Change Customers

Hi,

I have two fields respectively CustomerA and CustomerB. I need a button to change the customers on dashboard.

Need Help!

Thanks,

Murali

1 Solution

Accepted Solutions
priyasawant
Creator II
Creator II

hi kindly create a variable vShow, and take 2 buttons

button.PNG

and set that variable on those buttons

button1.PNG

button2.PNG

And take the fields in the list box --> then in layout tab of that list box write a if condition

button3.PNG

button4.PNG

and then If you select Customer A button then list of Customer A will be displayed and vice-versa

button5.PNG

View solution in original post

9 Replies
tresesco
MVP
MVP

Try to share a sample qvw and state expected output in more detail.

jonathandienst
Partner - Champion III
Partner - Champion III

Please provide more details about what you are trying to achieve. What do you mean by change? Are the customer fields related? Do you want to do this in a chart or table, or in list box(es)?

I suggest that you supply a sample qvw file with clear instructions about what the required result(s).

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
MuraliPrasath
Creator III
Creator III
Author

I have two list boxes CustomerA and CustomerB. I need one button to select all the values in CustomerA list box or CustomerB list box.

-Murali

jonathandienst
Partner - Champion III
Partner - Champion III

Unfortunately that makes your requirements no clearer. If you cannot describe clearly in more detail what you need or provide a sample to illustrate, then you are unlikely to get much help.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
MuraliPrasath
Creator III
Creator III
Author

Thanks Jonathan, I will come back with more detail requirement.

marioglasmv
Partner - Contributor III
Partner - Contributor III

It is not completly clear what you want to do but you can put a button on your sheet and set an action.

Choose the option Select in field.

In the field option you can put the name (CustomerA or CustomerB)

In search string you can put the following:

='(' & CONCAT({1} CustomerA, '|') & ')'

When you click on the button it will select all the customers in CustomersA.

Maybe you have to add some extra actions to clear some fields (if necessary) depending on your qvw.

priyasawant
Creator II
Creator II

hi kindly create a variable vShow, and take 2 buttons

button.PNG

and set that variable on those buttons

button1.PNG

button2.PNG

And take the fields in the list box --> then in layout tab of that list box write a if condition

button3.PNG

button4.PNG

and then If you select Customer A button then list of Customer A will be displayed and vice-versa

button5.PNG

Not applicable

can you share sample ?

ngulliver
Partner - Specialist III
Partner - Specialist III

Priyanka's explanation should be sufficient but if you want to know more about creating and using buttons have a look at this blog post:

https://www.quickintelligence.co.uk/qlikview-buttons/

Cheers,

Neil