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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
mikefromoke
Creator II
Creator II

Want to show filtered values in a caption...

Hello,

i want to show the filtered values in a caption, f.e. using a textbox.

Example:

I have a field "land" with values "A,B,C,D".

In a listbox i select the value "A". When i generate a textbox with Field "land", the value "A" is shown, so every thing is OK.

but when i select the values "A,B,C" in the listbox, the textbox shows "-" instead of "A;B;C"......

How can i show the filtered values (without using the statusbox ) ?

Anyone an idea or suggestion?

thx

mike

=>

Solution is function "=GetFieldSelections()"

I found it in the Communitiy...

1 Solution

Accepted Solutions
Not applicable

Use the GetFieldselections('FieldName') in your text object expression.

View solution in original post

6 Replies
Not applicable

Use the GetFieldselections('FieldName') in your text object expression.

sunny_talwar

Another one could be:

If(GetSelectedCount(Value) > 0, Concat(DISTINCT Value, ';'))

and for GetFieldSelections() you can determine what should be field seperator. and I would use a big number for third argument if you have large number of options to select from within value:

GetFieldSelections(Value, ';', 99999)

Not applicable

Yes using GetFieldSelections(Land), the result should be A,B,C in textbox in case you select ABC from list box.

Do you want to display it as A;B;C instead?

mikefromoke
Creator II
Creator II
Author

Thank you

regards

mikefromoke
Creator II
Creator II
Author

Thank you,

regards

mikefromoke
Creator II
Creator II
Author

thank you,

regards