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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to aggregate data across a dimension


I have two dimensions:  class & category.

I want to create a stacked bar chart that shows the % distribution of category within each class.  I am able to create a stacked chart of the raw counts  of ids for each category within class, but can't figure out how to get the total count of ids within class.  I have tried

count(aggr(id),category) but that didn't work.  Any suggestions?

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Support
Support

Check if fits your needs

View solution in original post

3 Replies
Clever_Anjos
Support
Support

Check if fits your needs

Not applicable
Author


Thanks!

nizamsha
Specialist II
Specialist II

Try this one

count(Total <ID> Category)