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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

Value of a List box in a Text Box

Hi,

I am using =GetFieldSelections(Attribute) to show the value of a text box into a text box.

When there is nothing selected it shows:   -    Is there anyway I can change this value to XYZ Instead.

Thxs

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

=if(GetSelectedCount(Attribute),GetFieldSelections(Attribute),'XYZ')

View solution in original post

2 Replies
swuehl
MVP
MVP

Try

=if(GetSelectedCount(Attribute),GetFieldSelections(Attribute),'XYZ')

alec1982
Specialist II
Specialist II
Author

This is working perfectly.

Thxs