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: 
alec1982
Specialist II
Specialist II

aggr function

hi all

I have a table that looks like

ID     Category     Sub Category     Count

1     A                    AA                         20

2     A                    BB                         60

3     B                    AA                         25

I need to add in a chart a column that show the total of each category so my table chart will look like

ID     Category     Sub Category     Count     Sum

1     A                    AA                         20          80

2     A                    BB                         60          80    

3     B                    AA                         25          25

Anyone knows the trick?

1 Solution

Accepted Solutions
sunny_talwar

May be this:

Sum(TOTAL <Category> Count)

UPDATE: I guess Count is an expression, but the idea is to use TOTAL qualifier with the field on which you want to total on. So use your current expression for count and add TOTAL <Category> in there and you should be good.

View solution in original post

2 Replies
sunny_talwar

May be this:

Sum(TOTAL <Category> Count)

UPDATE: I guess Count is an expression, but the idea is to use TOTAL qualifier with the field on which you want to total on. So use your current expression for count and add TOTAL <Category> in there and you should be good.

sunny_talwar

Here is a sample to look at

Capture.PNG