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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pie chart trigger

Guys,

I have a pie chart showing three type of employee's count (Available, Occupied and Partially Occupied). If I select only available employees it should be navigated to another sheet and to enable the available filter option in that sheet. Similarly for occupied and Partially occupied employees. Plz let me know if it is possible? if it is how to do? Plz help me guys....

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Dear siva

I did it by tigger on Document propertise

View solution in original post

14 Replies
adamdavi3s
Master
Master

Hi Siva,

This is certainly possible, you could do it as an event trigger on the field employee type (under document properties)

Depends if you want to trigger it just for that specific chart or not?

adamdavi3s
Master
Master

Here is an example, note that the same happens if you select the chart or the listbox


Edit sorry just updated the example to only trigger on available

MK9885
Master II
Master II

Yes it is doable.

If your (Available, Occupied and Partially Occupied) are measure then probably store them as a variable and use this IF condition in layout for the sheets or create a trigger as mentioned by Adam.

If they are dimensions, same can be done.

Anonymous
Not applicable
Author

Thank you guys, But in filter I have calculated dimension expression How can I achieve it?

adamdavi3s
Master
Master

can you give us a sample to work with?

Anonymous
Not applicable
Author

Adam, I'm using this expression as calculated dimension in filter,

=IF( MonthlyWorkHour>7, 'Occupied',  IF(  MonthlyWorkHour>3 and MonthlyWorkHour<8, 'Partially Occupied',  IF( MonthlyWorkHour<4,  'Available' )))

adamdavi3s
Master
Master

Ok check this out, sorry used my own field names.

There is now a variable and a trigger on this variable

MK9885
Master II
Master II

Can post a sample app?

Anonymous
Not applicable
Author

Screenshot_9.png

when I clicked on available (red region) in the chart, it should be navigated to another sheet enabling available option having the filter as shown below,

Screenshot_10.png

Plz help me guys, I'm having calculated dimensions in this filter, so I'm confused...