Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show "Totals" row wise

I have a Pivor table with two dimensions : "Month1" and  "Month2".

And one expression :Sum(Sales)

"Month2" is pivoted :  i.e, it appears as Columns.

Now I want to sum the values row-wise and display them in the last column.

Enabling "Show Pratial Sums" option is not resulting in  correct values.

Please find the below output that is required.

JanFebMarTotal
Jan25815
Feb1025641
Mar58518
Apr34613
4 Replies
sunny_talwar

I don't see why it would not show you the partial sum, would you be able to share a sample where this is not working?

PrashantSangle

Hi,

There is not specific reason why it is not showing correct value. might be in your data model due to join it is giving you wrong sum

Just modify your expression like below and try

sum(Aggr(sum(Sales),dim1,dim2))

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

The expression Sum(Sales) is resulting in correct values.

The only thing is that i need the sum in the last column say(Total).

sunny_talwar

It should show it once you have enable the 'Show Partial Sum' on the presentation tab