Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Pivot Table, Subtotal, CalculatedItem

I have a pivot table, with a calculated item. When i try and subtotal on the
field which includes the calculated item i receive the following error
"Unable to set the Subtotals property of the PivotField class". If i don't
create the calculated item if works fine. What have i missed?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Pivot Table, Subtotal, CalculatedItem

If there are calculated items in the pivot table, the subtotals can only
be the Automatic function. They can't be changed to a different function.

Lackawanna52 wrote:
I have a pivot table, with a calculated item. When i try and subtotal on the
field which includes the calculated item i receive the following error
"Unable to set the Subtotals property of the PivotField class". If i don't
create the calculated item if works fine. What have i missed?



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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Pivot Table, Subtotal, CalculatedItem

Debra, so if i need to sum the items, both calculated items and "regular"
items, i need to write some VB code - correct?

"Debra Dalgleish" wrote:

If there are calculated items in the pivot table, the subtotals can only
be the Automatic function. They can't be changed to a different function.

Lackawanna52 wrote:
I have a pivot table, with a calculated item. When i try and subtotal on the
field which includes the calculated item i receive the following error
"Unable to set the Subtotals property of the PivotField class". If i don't
create the calculated item if works fine. What have i missed?



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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Pivot Table, Subtotal, CalculatedItem

Sum is the Automatic function in most cases, so you wouldn't need code
to display that. The only thing that code could do would be turn the
subtotals on or off.

Lackawanna52 wrote:
Debra, so if i need to sum the items, both calculated items and "regular"
items, i need to write some VB code - correct?

"Debra Dalgleish" wrote:


If there are calculated items in the pivot table, the subtotals can only
be the Automatic function. They can't be changed to a different function.

Lackawanna52 wrote:

I have a pivot table, with a calculated item. When i try and subtotal on the
field which includes the calculated item i receive the following error
"Unable to set the Subtotals property of the PivotField class". If i don't
create the calculated item if works fine. What have i missed?



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





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

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
% of subtotal in pivot table murkaboris Excel Discussion (Misc queries) 1 March 13th 09 03:14 AM
% of subtotal in pivot table jk Excel Discussion (Misc queries) 1 August 1st 06 01:00 PM
Subtotal in a pivot table MarkM Excel Discussion (Misc queries) 2 December 29th 05 02:56 PM
% of subtotal in pivot Table Tiffany C. Excel Discussion (Misc queries) 3 July 14th 05 11:43 PM
Subtotal vs Pivot table - or best way klafert Excel Discussion (Misc queries) 2 June 16th 05 06:29 PM


All times are GMT +1. The time now is 05:08 AM.

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"