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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Not getting subtotals correctly in pivot table.

Hi, I am not getting the pivot table subtotals correctly. screenshot is like this,

help please

SubtotalsPivotTable.PNG

1 Reply
marcus_sommer

It will be depend on the kind of expression if you get a correct subtotal - something like sum(sales) will always work but something like quantity * price won't - in such a case you might need: sum(aggr(quantity * price, articel)). This meant you will probably need:

sum(aggr(YourExpression, Dim1, Dim2))

- Marcus