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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Table

Hi,
I am using a pivot table as below;
MonthTransNoReturnsValue
Jan 2012ABC11250
Feb 2012ABC2150
Feb2012ABC31100
Mar2012ABC4125
the value is being calculated by;
if([Returns]>0,(max(Aggr(sum(Value),TransNo))))
However when the columns are collapsed it shows the total value rather than the value for returns.
How it is:
MonthReturnsValue
Jan201211,000
Feb201222,000
Mar201211,500

How it should be:

MonthReturnsValue
Jan20121250
Feb20122150
Mar2012125

If anyone could help me resolve this issue it would be much appreciated.

Thanks in advance!

0 Replies