Calculated field-calculating rate in pivot table

Skip77

New Member
Joined
Nov 8, 2010
Messages
7
Hello,
Each week I run a query of the database our company uses to generate counts of certain events that is tracked by our leadership team. I then take those counts and convert them to rates using a separate excel worksheet. Lately, I have tried to calculate the rates via the pivot table I create to get the counts to no avail. The pivot table looks like this:

Type of Event SUM of TypeofEvent
Nav 4
TCAS 6
BTB 10
Mx 3

I have tried using the calculated field function to bring rates into the pivot table as well. The formula we use to calculate our rate is number of events (info above)/total number of transactions (this number varies each week-I would enter this "manually" into the formula (ie-it would not be contained in a column) multiplied by a normalizer (in this case 10000-also manually entered into the formula). After using the calculated field function the result looks like:

Type of Event SUM of TypeofEvent Sum of Rate
Nav 4 0.00% TCAS 6 0.00%
BTB 10 0.00%
Mx 3 0.00%

There is no grouping applied to the dates used to determine the type of events count but they are date filtered (ie-I select the applicable week period). I tried clearing the date filter and still received the same result (all zeros in rate)

The formula entered into the calculated field looks like =TypeofEvent/3300*10000

Note-3300 is number of transactions for week

Does anyone have any idea what I am doing wrong (or if it is possible to perform this type of calculation in a pivot table)? I greatly appreciate any help/advice anyone may have on this.

Thank You,

Skip
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,508
Messages
6,179,188
Members
452,893
Latest member
denay

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