Solved

Calculated Field in Pivot Table

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now