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

Count subcategories within category

Hello,

 

Do you know how to calculate with set analysis the amount of sub categories in the selected category ?

I tried this but it didn't work : count({$<[category]>}sub-category)

Thanks.

1 Solution

Accepted Solutions
rubenmarin

Hi, if there is a category already slected you only need: count(sub-category)

If you want to deselect any sub-category selected in that category you can use: count({$<[sub-category]>}sub-category)

View solution in original post

3 Replies
sunny_talwar

Would you be able to show by the means of sample data what exactly are you looking to do?

rubenmarin

Hi, if there is a category already slected you only need: count(sub-category)

If you want to deselect any sub-category selected in that category you can use: count({$<[sub-category]>}sub-category)
rubenmarin

Hi, just to add that it should be [sub-category] instead of sub-category, to avoid confusion with sub(minus)category.