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

Show/hide a Text object using multiple selections

I want a text object to display if certain criteria are selected, otherwise stay hidden. Criteria is Status for which there are 4 possible selections. So status list box contains A,B,C,D. When Status is C and D textbox is to display. Problem is using Get Selected Count  if the status is  A and B the text box displays since GetSelectedCount evaulates to 2. How can I create a condition where one box displays if Status  is C and D and a different text box displays if Status is A and B? Sorry If I should have posted elsewhere.

 

Labels (1)
2 Solutions

Accepted Solutions
edwin
Master II
Master II

use concatenate distinct of the values then test if equal to what you want:

if(concat(distinct Dim,'|',Dim)='C|D',...

View solution in original post

Eagle71
Contributor
Contributor
Author

In conditional area used : =(concat(distinct Dim,'|',Dim)='C|D') and worked perfectly!

View solution in original post

2 Replies
edwin
Master II
Master II

use concatenate distinct of the values then test if equal to what you want:

if(concat(distinct Dim,'|',Dim)='C|D',...

Eagle71
Contributor
Contributor
Author

In conditional area used : =(concat(distinct Dim,'|',Dim)='C|D') and worked perfectly!