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

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 - Creator III
Partner - Creator III

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
Specialist
Specialist
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.