Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart should show up only on a particular field selection

Hey guys,

I have three a list box (say 'L') and two charts.

List box and Chart 1 are always visible.

But I want the Chart 2 to be visible only on selection of a value in the listbox. It can be any value. If I select a value from that particular field (listbox), the chart 2 should show up. Otherwise, it has to stay hidden.

I tried conditional statement. But it's not working. If anyone could help me with the expression, it would be really great.

thanks in advance

Srujan

1 Solution

Accepted Solutions
charlotte_qvw
Partner - Creator
Partner - Creator

Sorry, should be

GetSelectedCount(L)>=1

View solution in original post

5 Replies
johnw
Champion III
Champion III

Your field name is "L"? Layout tab, Show, Conditional, then:

getselectedcount("L")

charlotte_qvw
Partner - Creator
Partner - Creator

I tried this

GetSelectedCount(CategoryName)>=1

Cheers

charlotte_qvw
Partner - Creator
Partner - Creator

Sorry, should be

GetSelectedCount(L)>=1

johnw
Champion III
Champion III

Anything non-zero evaluates to true, and 0 evaluates to false, so getselectedcount("L") is sufficient without the >=1. The condition doesn't hurt, of course, if it makes more sense to you that way.

Not applicable
Author

That works, thanks so much..!