calculated field in pivot tables

baggarwal

Well-known Member
Joined
Jul 10, 2002
Messages
591
Hi All:

I have a table that is as simple as this:
P1 P2
2004 Actual 250 350
2005 Actual 500 400

I just want to automatically add a third line using the calculated fields in pivot tables called Variance which is 2005 actual - 2004 actual. The problem is the two rows 2005 actual and 2004 actual are not there in the options list to calculate.

Can someone please explain how i can add the third line called variance automatically using calculated fields.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi baggarwal

What you want is not a Calculated Field but a Calculated Item. Right-click for ex. on "2004 actual" on the PT and choose Formulas>Calculated Item.

Hope this helps
PGC
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,716
Members
448,985
Latest member
chocbudda

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