Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

how to hide chart

Hello All

          i am using alternative state in my application,i have created two groups

                                             group1

                                             group2

then i have couple of list boxs for each group and i also have two line chart one for each group,

right so wahat i am looking is when i select group1 list boxs the group2 chat has to be hide vise versa

group2 bar chart------->layout-------->?

whats condition should i need to write.

shall i write like this in layout     :Alternate state='group1'

thanks

naveen

2 Replies
Kushal_Chawda

try like below condition in group2 chart layout

=if(SubStringCount(Concat(distinct {Group1} Field ,'|'),'|')>0,0,1)

and put below condition in group1 chart layout

=if(SubStringCount(Concat(distinct {Group2} Field ,'|'),'|')>0,0,1)

kunkumnaveen
Specialist
Specialist
Author

dude is this expression right

count({group1 * $}{<id_measure={13}>}DISTINCT [Individual ID])