Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
pra_kale
Creator III
Creator III

Text Box text should change as per Dimension selection

Hi,

In a attached application in Text box I have written a below code by which I am getting channel and Target in a Text box like 'Alternate Target'. But, if nothing is selected then I want 'Overall Target' in a Text box instead of only Target.

=GetFieldSelections(Channel) & ' Target'

Please help in achieving this.

1 Solution

Accepted Solutions
sunny_talwar

Try this may be:

=If(GetSelectedCount(Channel) > 0, GetFieldSelections(Channel), 'Overall') & ' Target'

View solution in original post

3 Replies
sunny_talwar

Try this may be:

=If(GetSelectedCount(Channel) > 0, GetFieldSelections(Channel), 'Overall') & ' Target'

pra_kale
Creator III
Creator III
Author

Sunny Thanks for your Help...It is working fine.

sunny_talwar

Great

Glad I was able to help