Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
thomas_skariah
Creator III
Creator III

Subtotaling

Hi All,

Can anyone give an idea of how to calculate totals of two different rows into one.

For better understanding please view the attached image.

Regards

Tom

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi Tom,

See the sample attached file.

Regards,

Sokkorn

View solution in original post

9 Replies
Sokkorn
Master
Master

Hi Tom,

<Show Partial Sums> may do this. Let do it by Right Click on Pivot Table ==> Properties ==> Presentations ==> Check on Show Partial Sums

Untitled.jpg

Apologize if I misunderstood your question.

Regards,

Sokkorn

thomas_skariah
Creator III
Creator III
Author

Hi Sokkorn,

Thanks for your reply, but with partial sums it given totals of individual rows and in my scenario i need totals of  A and B.

Please see the question mark given in the image.

Regards

Tom



Sokkorn
Master
Master

Hi Tom,

Can you share your app? We look into it together.

Regards,

Sokkorn

thomas_skariah
Creator III
Creator III
Author

Hi Sokkorn,

Please find the attached sample Application.

Regards

Tom

Sokkorn
Master
Master

Get back you soon after meeting

thomas_skariah
Creator III
Creator III
Author

Any one ,any Idea?

Regards

Tom

jonathandienst
Partner - Champion III
Partner - Champion III

Tom

This is usually done by adding a grouping field that groups A and B together, and then including that field as the first dimension.

You could create the field in script, or use a calc dimension, which could look like this (assuming A, B, ... are a field called Field1):

=Pick(Match(Field1, 'A','B','C','D'), 'A+B', 'A+B', 'C', 'D')

After you add in this calc dimension (let's name it Grouping' for the sake of example), enable the partial sum for Field1. This will create subtotals for 'Grouping' similar to your illustration.

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Sokkorn
Master
Master

Hi Tom,

See the sample attached file.

Regards,

Sokkorn

thomas_skariah
Creator III
Creator III
Author

HI,

Thanks a lot Jonathan and Sokkorn for your kind support.

Regards

Tom