Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to enable and disable of charts in Qliksense conditionally

Hi,

I have a list box has 100 different  values in it

.Based on the selection of a value from a list box, the charts will enable  and disable if i deselect the values.

In qlikview, i  am able to do by using get field selection function.

can you help me, how to achieve the same thing in Qliksense.

Thanks,

Krishna

2 Replies
ashishbhuyekar
Contributor III
Contributor III

Hi Krishna,

If you want show chart based on the list box selection , then I can think below approach

1. define variable vShowchart

2. Add a OnAnySelect Trigger with Add Action on the list box field (choose the field from the Field Event -> choose set variable action - in variable tab - type vShowchart  - set value with expression =if(GetSelectedCount( Fieldname) > 0 ,1,0)

3. Go to your chart - Layout tab - conditional option & give vShowReport=1.

with above , as soon as you select the value chat with appear.  If you want to show specific chart based on selected value then you can use GetFieldSelections() method and set your variable accordingly.

Hope above will answer your ask.

sagarkharpude
Creator III
Creator III

As per my knowledge you can not hide the charts in Qlik Sense.