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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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?

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Check if fits your needs

View solution in original post

3 Replies
Clever_Anjos
Employee
Employee

Check if fits your needs

Not applicable
Author


Thanks!

nizamsha
Specialist II
Specialist II

Try this one

count(Total <ID> Category)