Pivot Table Calculated field error

J

Jeff Metcalf

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
 
D

Debra Dalgleish

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top