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: 
kgordis
Contributor II
Contributor II

Hide text box if multiple years in list box selected

I have a list box with two years and a text box. 
Is it possible to hide a text box if multiple years are selected in the list box?

Labels (2)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

On the Layout pane of the Text Box, add a Show condition of 

=GetSelectedCount(Year) < 2 

If you wish to count possible values, instead of explicit selections, use GetPossibleCount().

=GetPossibleCount(Year) < 2 

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

View solution in original post

2 Replies
marcus_sommer

You could apply a visibility-condition in tab Layout like: count(distinct Year) <= 2

- Marcus

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

On the Layout pane of the Text Box, add a Show condition of 

=GetSelectedCount(Year) < 2 

If you wish to count possible values, instead of explicit selections, use GetPossibleCount().

=GetPossibleCount(Year) < 2 

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com