Pivot Table - issue with calculated function

peterderrington

New Member
Joined
Aug 6, 2019
Messages
26
Office Version
  1. 2019
Platform
  1. Windows
Hi,
I've created a pivot table (feeding a pivot chart) that is counting the number of instances of occurrences over some time periods. I want it to also display the average (median and also mean) over the full time period (the time periods cover 1 hourly slots, the full data covers an entire year).
I thought if i created a calculated function that would work but it doesn't display it.
The calculated function - named Average month of incident (it created itself its own tab for the function) displays the right figure in the tab but it doesn't matter what i selected within the pivot table options (and subsequent value field settings - sum, max etc) it only shows 0 in the table.
What do i need to do?
pivot table.jpg

calculated field.jpg


Where it shows 0 in "Max of Average Month of Incident" it should show 1311
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,214,968
Messages
6,122,509
Members
449,089
Latest member
RandomExceller01

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