Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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