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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Trouble getting totals on pivot table

Hi,

Please find attached Qlikview document (link to Test.qvw). There's no sensitive data in it. Can any of you experts out there tell me where I'm going wrong in my attempts to get the pivot table to show a Total at the bottom of 5700? Apart from the lack of the Total at the bottom, the pivot table is exactly as I want it. I thought that having the Show Partial Sums option in the Presentation tab ticked for the MonthYear column would do the trick but apparently not.

Many thanks in advance.

1 Solution

Accepted Solutions
pover
Partner - Master
Partner - Master

Try the expression:

=if(dimensionality()=0,sum(aggr(avg(Value),month_year)),avg(total <month_year> Value))

Regards.

View solution in original post

2 Replies
pover
Partner - Master
Partner - Master

Try the expression:

=if(dimensionality()=0,sum(aggr(avg(Value),month_year)),avg(total <month_year> Value))

Regards.

Not applicable
Author

Thanks Karl. That works perfectly! Much appreciated!

Ian