Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issues with Totals in PIVOT TABLE

TypeSales
Total40951.08
DISTRO18047.27
DPUD-68.16
REGULAR40868.04

Hi,

This is the Data I am working on.when i click Distro alone i am able to get the correct total of it when expanded it gives all the data but when collapsed its not adding the DISTRO data but its adding all other data.Let me know whats the issue.

Thanks in Advance

1 Reply
swuehl
MVP
MVP

What do you get when you copy the expression in a text box?

In a pivot table, QV will calculate the total as expression total, while you might expect a sum of rows.

There might be a difference between the two, e.g.when a sales record can belong to more than one Type.

You can use advanced aggregation to get the sum of rows:

=Sum( Aggr( YourExpression, Type))