Solved

Calculated Field in Pivot Table

Posted on 2013-06-26
2
574 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

695 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