Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Yi0ta4
Contributor
Contributor

Multi-Box Count Selections

How do you count the number of selections in a multi-box? 

1 Solution

Accepted Solutions
Or
MVP
MVP

There is no such thing as "Selections in a multi box". Selections are made on fields, and the Qlik engine does not save the location from which the selection was made.

You can get the full list of selections using GetCurrentSelections(). You can use GetFieldSelections() on each of the fields within your multi box, one at a time, to get the selections for just those fields (of course, those selections could have been made from anywhere, not necessarily from the multi box).

View solution in original post

3 Replies
Or
MVP
MVP

There is no such thing as "Selections in a multi box". Selections are made on fields, and the Qlik engine does not save the location from which the selection was made.

You can get the full list of selections using GetCurrentSelections(). You can use GetFieldSelections() on each of the fields within your multi box, one at a time, to get the selections for just those fields (of course, those selections could have been made from anywhere, not necessarily from the multi box).

Yi0ta4
Contributor
Contributor
Author

Thanks for the quick response!
GeigerS
Contributor
Contributor

I have a multiple selection list which have more than 5 options, and i want to count the number of selection of the options selected by the user.

MyPaymentPlus