Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

Avoid Multi Selection turning into "7 of 20"

Hi!

I need to assign the values from a multi selection in a listbox to a variable to be able to recover that selection later.

Currently I am using an OnSelect Trigger to assign the field selection to a variable through the GetFieldSelections() function.

However, once the multi selection exceeds 6 items my expression only retrieves the number of selected items like "7 of 20" which I cannot use to re-select later.

Is there a way to fix that?

Thank you for your help!

1 Solution

Accepted Solutions
Highlighted
Creator III
Creator III

Hi,

You can introduce 3 parameters to the function:

GetFieldSelections ( field_name [, value_sep [, max_values]])


Example:


GetFieldSelections ( Country, '|', 20)

View solution in original post

2 Replies
Highlighted
Creator III
Creator III

Hi,

You can introduce 3 parameters to the function:

GetFieldSelections ( field_name [, value_sep [, max_values]])


Example:


GetFieldSelections ( Country, '|', 20)

View solution in original post

Highlighted

If you don't have to use the Active Selections object, I'd rather go for the Concat() function which will take also all values selected for the given field, and you can use all the functionalities of a text object for formatting, adding characters, delimiters, separators, etc.