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

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

pivot table total

Hi all,

I have a pivot table as follows:

unitABCDE
expression131444
expression225222
expression308122


where a - e are each units. Each expression uses an aggr function so I can calculate the total per each unit. I would like an additional column which gives the sum of a,b,c,d,e for each expression (1,2,3). this seems very easy using a straight table but i can't seem to find how to achieve this for a pivot table. Anyone any ideas?

Typically, my table would therefore look this this at completion:

unitABCDESum
expression13144416
expression22522213
expression30812213


I thought sum(expression1) would work but I get an extra row with null values instead of an extra column. I have read similar threads but it doesn;t seem to work for me.

Help would be appreciated.

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

partial sum solved it.

View solution in original post

1 Reply
Not applicable
Author

partial sum solved it.