Pivot Table Calculations

jargon98

New Member
Joined
Mar 26, 2015
Messages
7
All,

I have a situation where I need to calculate within a pivot table. I need to calculate a delta between two columns that are at the second level. In other words, the elements that need to be calculated are pivoted and not their own individual field.

Is there a way to do this. If it was at the top level, I understand how to do this.

Below is an example of the columns in the Pivot

Columns
YYYY QQ
Cost Type

This pivots to look like:

2018 Q1
Actual Resource Costs Planned Resource Costs


I need to create the delta between the actual and planned costs which are both cost type.

Any help you can provide would be greatly appreciated.

Best,

Jargon
 

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.
Wanted to bump this because it was getting buried.

If this isn't possible, that would be good to know as well.

I appreciate everybody's help.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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