Solved

Calculated Field in Pivot Table

Posted on 2013-06-26
2
569 Views
Last Modified: 2013-09-17
I need to use a calculated field to calculate the difference between the 2012 Margin (col. J) and the 2013 Margin (col. K). I know I can easily do this outside the pivot table. But can it be done inside the pivot table using a calculated field?
Sales-by-Category-YTD.xlsx
0
Comment
Question by:woodsboro_kid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39278310
I don't think you can use Calculated field to find difference of items in same original data column....  You will need to do it outside the table.
0
 
LVL 2

Expert Comment

by:mike247
ID: 39501136
You can do this within a pivot table (sort of), but it will show you only the difference and you have to reset the base year each year.  Click on 'Value Field Settings" on the value field (i.e. Sales) then click the "Show Values As" tab.  Choose the drop-down "difference from".  On the left choose the date field. On the right choose the base year.  Since you have to choose the base year, it will always compare each column to the base year.    

PowerPivot, however, can do it correctly so I recommend using PowerPivot instead.  If you get PowerPivot up and running and want advice on how this works, just reply to this thread and I will try to help.  You need to first be connected to the data source in PowerPivot and create a PowerPivot table with it.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question