Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
danosoft
Specialist
Specialist

Set Fields from button

Hi i have my field MESEIN in a listbox, when i click a button i want to set the same values in MESEOUT

i put action in the button setting:  =GetFieldSelections(MESEIN) for MESEOUT i see if i choose only 1 value it work right, but if i choose more values in my MESEIN it not work... why?

Thanks

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi

use this expression

='(' & concat(distinct MESEIN,'|') & ')'

View solution in original post

2 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

use this expression

='(' & concat(distinct MESEIN,'|') & ')'

YoussefBelloum
Champion
Champion

Hi,

you will need to use concat() function to concat multiple values.

like this:

='('&Concat(Distinct YOUR_FIELD,'|')&')'