pivot table problem

JonH@JWCE

New Member
Joined
Feb 19, 2002
Messages
5
I am using a calculated item in a pivot table.

on pivot tables without calculated items, the pivot table results only show summary info when there are actual results in the source data.

When I use the same data and add the calculated item, the pivot table gives a line item for all combinations of data, even when there isn't any data to summarize.

Does anyone know how to get around this problem with calculated items in pivot tables?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Yes - it is a pivot table that compares actual and budget amounts, the calculated item is the variance between actual and budget (the difference between the two). it is calculated as:
actual-budget
When the calculated item is added, it is almost as if the table reads the zero difference as a number, and thus includes the line, even though there isn't any source data to calculate.
 
Upvote 0
So "Actual" and "Budget" are items of what field? In which area of the PivotTable is this field located?
This message was edited by Mark W. on 2002-03-01 14:55
 
Upvote 0
I've been "playing around" with this data set...

{"Dept","Month","Expense","Amount"
;"A","Jan","Actual",10
;"A","Jan","Budget",18
;"B","Feb","Actual",45
;"B","Feb","Budget",30}

...and concluded that the zeros produced by =Actual-Budget for Dept A in Feb and Dept B in Jan are unavoidable.
 
Upvote 0

Forum statistics

Threads
1,213,530
Messages
6,114,163
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top