Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Restrict Partial Sums

Hi All,

I have a pivot table for which i used partial sums.

The end result is something like this;

error loading image

I need the total that is circled in black, however i need to remove the totals circled in pink, I have treid dimensionality but all it does is remove all the three totals.

Can anyone please help me with this?

PS. I cannot share the file since i pull date from a local server.

Regards,

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

I posted the question again and found this solution.

We can use the dimensionality() function with an IF (Group='GCC') statement for Group.

This would exclude all Totals except those corresponding to GCC.

It would look something like this,

If (Dimensionality()>1, Limit , If (Trim(Group)='GCC', Limit ) )

OR

can achieve the above requirement using Straight Table.

In a staright table we can mention No total in the expression tab for a particluar expression.

View solution in original post

1 Reply
Not applicable
Author

Hi,

I posted the question again and found this solution.

We can use the dimensionality() function with an IF (Group='GCC') statement for Group.

This would exclude all Totals except those corresponding to GCC.

It would look something like this,

If (Dimensionality()>1, Limit , If (Trim(Group)='GCC', Limit ) )

OR

can achieve the above requirement using Straight Table.

In a staright table we can mention No total in the expression tab for a particluar expression.