Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to trim my 'GetCurrentSelections' results

Hello:

Does anybody know how to display all the the Current Selections? When I select several elements of the same variable, the GetCurrentSelections function returns the number of elements selected but not a list as if I had selected one element.

For instance:

GetCurrentSelections return:

Brand: 5 of 129


And I would like to have diplayed:

Brand: A, B, C, D, E


Thank you very much in advance,

5 Replies
rubenmarin

Hi Jose, you can try with:

Concat(Distinct Brand, ', ')

or

Concat(Distinct Brand, ',') // If you don't want space after the comma

sunny_talwar

Try this:

GetCurrentSelections(Brand, ', ', 10000)


GetFieldSelections(Brand, ', ', 10000)

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi Jose,

you can use sunny Expression.That works better.

-Nagarjuna

Not applicable
Author

Thank you very much guys!

Sunny, your solution runs fine!

Ruben, thank you for your help!

sunny_talwar

Great, I am glad we were able to help

If you got what you were looking for, I would suggest closing the thread by marking correct and useful answers.

Best,

Sunny