Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
kvr9
Creator
Creator

Selection of subcategories based on category

Hi ,

I have an issue with a chart containing subcategory data,I want it to be populating as per category with out selecting the category.

Please find the attached.

15 Replies
sunny_talwar

May be use On-Open trigger like this

=If(Count({1} Category) = 1, Category, 'A')

For user that just see 1 category, it will select that category, for other's with global access, they will see A selected in category

kvr9
Creator
Creator
Author

Thank Sunny that worked.

Small concern the triggers are not working properly once I refresh the code on access point

sunny_talwar

Not sure why it didn't work on access point for you... are you sure you saved the file with the trigger and reloaded it on QMC?

kvr9
Creator
Creator
Author

Yes I saved the triggers and reloaded it, but it is not saving.

sunny_talwar

Not sure if I can offer any suggestions on this front.

kvr9
Creator
Creator
Author

No Problem,Thank you for your help