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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
jagannalla
Partner - Specialist III
Partner - Specialist III

When Selections are changed the variable value should be changed

Hi,

Is there any possiblity to change the variable value when selections are changed.

For Eg:

Through CurrentSelections object we can see all the selections of our qvw file.

- My thought is when we made the 'n' of selections we can see all selections in this object. But, now i want to change the value of the variable when selectins are made i.e from 0 to 1. By default the qvw file contains the value of the variable with zero(0).

3 Replies
suniljain
Master
Master

you can use

GetFieldSelections( fieldname) and set the value in variable accordingly.

jagannalla
Partner - Specialist III
Partner - Specialist III
Author

I've made 'n' of selectins.

For Eg:

I've have create BookMark with 10 selections. When i select the bookmark i can see only 10 selections in my qvw file. If i made any selections more or less then the variable value should be changed. By default i'm assigning the variable value 0 when BM is creating.

suniljain
Master
Master

you have to fixed the no of parameter on which you want to take decision.