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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do I get Column Totals in a Pivot Table?

Can get simple column totals in a STRAIGHT TABLE BUT, NOT IN A PIVOT TABLE.

3 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes, unfortunately this is how it works... There is a work around though - use Advanced Aggregation (function aggr()) and force the summary of the detailed values at each level.

For example, if your Picot Table has 3 Dimnsions - Dim1, Dim2, and Dim3, and an expression sum(Sales), you could use the following expression to force Sum of lines:

sum(aggr(Sum(Sales), Dim1, Dim2, Dim3))

cheers!

Ask me about Qlik Sense Expert Class!
Not applicable
Author

Have you looked at partial sums (Presentation tab)? If you put a partial sum on your top dimension, then that should total up the columns at the bottom. If you prefer your subtotals at the top that can be changed by using the Subtotal section of the Presentation tab.

Not applicable
Author

THANK YOU!