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: 
Not applicable

Text expression based on list box selection

Hi,

I have a list-box displaying months name (Month as dimension). I have a text object. Below is my ask.

If no month is selected from the list-box then the text object should be displayed as 'A' else it should display 'B'.

Thanks

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Use an expression in your text box like

=if(GetSelectedCount(Month),'B','A')

View solution in original post

2 Replies
swuehl
MVP
MVP

Use an expression in your text box like

=if(GetSelectedCount(Month),'B','A')

its_anandrjs

write a code in text box like

=if(GetSelectedCount(YourMonthField)=1 ,'B','A')