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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

macro for select / deselect

Hi there,

is it possible to select / deselect a certain value in a list box based on a macro ?

If yes, how would the macro look like ?

The tricky part: Lets assume in a list box there are three value.

1, 2 and 3. I have also three buttons A, B and C.

If i click A, the value one should be selected. When i then click B, the value B should also be selected (without losing the selection on A)

Can this be done ?

Thanks for some hints!

K

3 Replies
MayilVahanan

HI

Are you looking for this?

1. Simply gave values

2. Dynamic value changes according to button click

If so, No need for macro

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thanks, but this does only half the job - imagine you have nothing selected and then hit "2" - it should only select 2, but in your solution it selects 1 and 2.

Not applicable
Author

Hi,

check this attached file. I only little bit update Mayil`s file...

Regards,

Ashutosh