LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Calculated Item causes undue repitition in pivot table

Lets say I have a pivot table that groups sales totals by company and product
(rows) and years (columns). I want to add a calculated ITEM (a calculated
FIELD wont do the trick) that determines the difference between two
particular years sales. The calculated item performs the calculation as
expected, however now I get rows for products that the company doesn't sell.

Example:

Original Pivot Table:

Sales
Year
Company Product 2007 2008 2009
Florida
Oranges 100 200 250
Lemons 150 250 600
New Jersey
Tomatoes 100 200 300
Corn 400 200 300
California
Tomatoes 500 600 700
Oranges 300 250 200

Then I add the calculated ITEM (2009 - 2007) and the table changes to:

Sales
Year
Company Product 2007 2008 2009 2009-2007
Florida
Oranges 100 200 250 150
Lemons 150 250 600 450
Tomatoes 0 0 0 0
Corn 0 0 0 0
New Jersey
Oranges 0 0 0 0
Lemons 0 0 0 0
Tomatoes 100 200 300 200
Corn 400 200 300 -100
California
Oranges 300 250 200 -100
Lemons 0 0 0 0
Tomatoes 500 600 700 200
Corn 0 0 0 0


As you can see, I now have every single product listed for each company even
though there are no such records for those products in my table. With my real
data, this turns a simple one page pivot table into 390 pages - most of which
is filled with zeros. There does not appear to be a way to supress the
products which have no value.

i have scoured Google and have found many people asking this question and
NONE of them have a solution posted. If ANYONE can tell me how to solve this,
it would be greatly appreciated. Thanks.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM
Pivot Table Calculated Item Dominic Excel Discussion (Misc queries) 1 April 26th 06 11:50 PM
Pivot Table Calculated Item jerry Excel Discussion (Misc queries) 6 October 26th 05 07:30 PM
Pivot Table Calculated Item Erin Searfoss Excel Discussion (Misc queries) 2 February 9th 05 03:11 AM


All times are GMT +1. The time now is 12:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"