Excel Pivot Tables Custom Row Totals

Russ Reich

New Member
Joined
Nov 12, 2018
Messages
1
I recently set out to make a very dynamic pivot table featuring multiple variables. The example below shows team data by status of testing. The main thing I need is to be able to see the grand total and also another field showing the % Complete dynamically in the pivot table. The goal is to refresh the pivot table from our server and have it seamlessly show us the below. The problem is the last cell in the total field (highlighted in red) for the calculated item % Complete is a total of the percentages. It needs to be ((passed + passed with work around) / (Grand total)) respectively for the last cell ((7662+157) / 9216) = 85%.

I un-selected the row totals and added two calculated items to show row totals as grand total and % complete as ((passed + passed with work around)) / (Grand total)).

Any thoughts or ideas would be greatly appreciated. I think I have exhausted the pivot table options is there a way to add VBA to make this work?

Column Labels
Row LabelsBlockedFailedNo RunNot CompletedPassedPassed with work-aroundGrand Total% Complete
Team 121532371427193%
Team 22727100%
Team 36211819323881%
Team 45798494%
Team 521141724%
Team 641226026797%
Team 7859408117306592374984%
Team 8334735386922145061%
Team 933410413246290%
Team 1043114196923204198%
Team 1112110478451494%
Team 128146689671%
Grand Total8120102524476621579216986%

<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,215,333
Messages
6,124,317
Members
449,153
Latest member
JazzSingerNL

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top