Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Pivot Table Calculated field error

I have a pivot table that
As Rows

Service Territories

As Values
Count the number of service calls
Sum two columns of data consisting of 1 or 0 depending on whether a SLA was
met.

When I try to put in a calculated field of SLA1/callcount, all I get is a
div/0 error?

I can do a manual calc of

=GETPIVOTDATA("Sum of
Met_Response",$A$5,"Area","FL")/GETPIVOTDATA("CallCount",$A$5,"Area","FL")

and it's fine. Why can't I do a calculated formula in the pivot table
itself to do this?

Thanks in advance,

Jeff
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot Table Calculated field error

A calculated field will always use the sum of the referenced fields,
even if you've used a different summary function in the pivot table.

So, if your CallCount is based on a text field, its sum will always be
zero. That's why you get a #DIV/0! error.

Jeff Metcalf wrote:
I have a pivot table that
As Rows

Service Territories

As Values
Count the number of service calls
Sum two columns of data consisting of 1 or 0 depending on whether a SLA was
met.

When I try to put in a calculated field of SLA1/callcount, all I get is a
div/0 error?

I can do a manual calc of

=GETPIVOTDATA("Sum of
Met_Response",$A$5,"Area","FL")/GETPIVOTDATA("CallCount",$A$5,"Area","FL")

and it's fine. Why can't I do a calculated formula in the pivot table
itself to do this?

Thanks in advance,

Jeff



--
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
Creating a Calculated Field in a Pivot Table for same field dza7 Excel Discussion (Misc queries) 3 October 21st 09 11:22 PM
Pivot table calculated field nc Excel Discussion (Misc queries) 3 January 9th 09 03:25 PM
Pivot table calculated field error Pierre Excel Worksheet Functions 1 January 4th 08 05:34 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


All times are GMT +1. The time now is 02:57 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"