Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculated item - problem

Hey,

I have a problem with my calculated item in my Pivot Table.

The Pivot Table is as follows

2007 2008
Country 1 Area A 43 50
Area B 60 70
Country 2 Area X 76 89
Area Y 34 34

I want to add a index which is 2008/2007. Therefore I used a calculated
item. But the problem is that I get the following result


2007 2008 index
Country 1 Area A 100 50 0,5
Area B 60 70 ...
Area X Error
Area Y Error
Country 2 Area A Error
Area B Error
Area X 76 89 ...
Area Y 34 34 ....

My problem: How do I avoid that I receive for instance that Area X and Area
Y appears in Country 1. First of all it makes no sense since they are not
part of this country, but the biggest problem is that it makes my Pivot not
clear anymore, because I have al lot of countries & a lot of area's...

Adding an extra row in my data source is not an option.

Thx for the help,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Calculated item - problem

Unfortunately, that's a characteristic of Calculated Items that you
can't change.
Instead of a Calculated Item, you could add another copy of the data
field to the data area.
Then, right-click on the heading for the second data field, and click on
Field Settings
Click the Options button
For 'Show Data As:' select % Of
For the Base Field, select Year
For the Base Item, select 2007, click OK

You'll end up with an extra column, but you could hide that, or ignore it.

You can change the PivotTable options to hide the errors, if necessary.

Victorinox wrote:
Hey,

I have a problem with my calculated item in my Pivot Table.

The Pivot Table is as follows

2007 2008
Country 1 Area A 43 50
Area B 60 70
Country 2 Area X 76 89
Area Y 34 34

I want to add a index which is 2008/2007. Therefore I used a calculated
item. But the problem is that I get the following result


2007 2008 index
Country 1 Area A 100 50 0,5
Area B 60 70 ...
Area X Error
Area Y Error
Country 2 Area A Error
Area B Error
Area X 76 89 ...
Area Y 34 34 ....

My problem: How do I avoid that I receive for instance that Area X and Area
Y appears in Country 1. First of all it makes no sense since they are not
part of this country, but the biggest problem is that it makes my Pivot not
clear anymore, because I have al lot of countries & a lot of area's...

Adding an extra row in my data source is not an option.

Thx for the help,



--
Debra Dalgleish
Contextures
www.contextures.com/tiptech.html
Blog: http://blog.contextures.com

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default Calculated item - problem

Excel 2007
Auxiliary Table added to PT with VBA.
Allows for more complex calculations:
http://www.mediafire.com/file/jzxn0y...12_30_08a.xlsm
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculated item - problem

Thx problem solved.

"Debra Dalgleish" wrote:

Unfortunately, that's a characteristic of Calculated Items that you
can't change.
Instead of a Calculated Item, you could add another copy of the data
field to the data area.
Then, right-click on the heading for the second data field, and click on
Field Settings
Click the Options button
For 'Show Data As:' select % Of
For the Base Field, select Year
For the Base Item, select 2007, click OK

You'll end up with an extra column, but you could hide that, or ignore it.

You can change the PivotTable options to hide the errors, if necessary.

Victorinox wrote:
Hey,

I have a problem with my calculated item in my Pivot Table.

The Pivot Table is as follows

2007 2008
Country 1 Area A 43 50
Area B 60 70
Country 2 Area X 76 89
Area Y 34 34

I want to add a index which is 2008/2007. Therefore I used a calculated
item. But the problem is that I get the following result


2007 2008 index
Country 1 Area A 100 50 0,5
Area B 60 70 ...
Area X Error
Area Y Error
Country 2 Area A Error
Area B Error
Area X 76 89 ...
Area Y 34 34 ....

My problem: How do I avoid that I receive for instance that Area X and Area
Y appears in Country 1. First of all it makes no sense since they are not
part of this country, but the biggest problem is that it makes my Pivot not
clear anymore, because I have al lot of countries & a lot of area's...

Adding an extra row in my data source is not an option.

Thx for the help,



--
Debra Dalgleish
Contextures
www.contextures.com/tiptech.html
Blog: http://blog.contextures.com


Reply
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
I want to create a calculated item based on a calculated field Stijn Excel Discussion (Misc queries) 1 August 25th 08 05:30 PM
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
Calculated Item Sunryzz Excel Worksheet Functions 0 May 4th 05 12:31 AM


All times are GMT +1. The time now is 01:34 PM.

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

About Us

"It's about Microsoft Excel"