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

Hide one value when another value is selected

Hello all,

I have a dashboard where i would like to hide a particular Pie-Chart when an other value is selected.

Ex: Consider i have Product(as dropdown box) and Market(as Pie-Chart) values in my dashboard.

I'm now seeing both by default, but when a user selects a particular Product the Pie showing market results must disappear.

TIA!!

1 Solution

Accepted Solutions
sunny_talwar

Try a condition show expression like this for your pie chart on the layout tab

GetSelectedCount(Product) = 0

View solution in original post

4 Replies
sunny_talwar

Try a condition show expression like this for your pie chart on the layout tab

GetSelectedCount(Product) = 0

Anonymous
Not applicable

I think you should work on

Pie chart:

Properties..>Layout...>Conditional...>

Anonymous
Not applicable

At Layout insert condition:

if( SubStringCount( Concat(GetFieldSelections(Product),' '),'ProductName' )=0,1,0)

And at the ProductName, you can insert the value.

psk180590
Creator III
Creator III
Author

Thanks All for the quick suggestions.

stalwar1‌ your suggestion worked for me.

I was trying with a Count(distinct) and the chart would disappear completely. But, now it perfectly suits my requirement.

Thanks Again!!