Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Read about the latest Qlik Community enhancements on the Community News blog!
cancel
Showing results for 
Search instead for 
Did you mean: 
jpjust
Creator III
Creator III

Hide chart from container

All,

I have an table below.

Site    Metric1      Metric2

ABC       345            5678

DEF       567             4567

I have 3 charts in an container

Now I would like to hide a chart when ABC is selected from the table. In-order to achieve it, I went to chart properties Add-ons-> Data handling -> Calculated Condition.

I wrote an expression =  GetFieldSelections([SITE]) <>'ABC' but it doesn't work.

Does anyone has done hide chart based upon an selection?

Thanks

2 Replies
joaopaulo_delco
Partner
Partner

Hi @jpjust !

    You can try this on condition:

Count({<Site={'ABC'}>} Site) = 0

  

Help users find answers! Don't forget to mark a solution that worked for you!
jpjust
Creator III
Creator III
Author

Thanks. That expression did not work unfortunately.

GetFieldSelections([SITE]) <>'ABC' works as I expect when I select the SITE value from the  filter pane but not from the table.