Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9041

Weighted Average Calculation - using Month number as weights

$
0
0

Hi All,

We have to perform a calculation similar to Excel's SUM(Range)/Count(Range) eg. SUM($E$4:G4)/Count($E$/G4). What this would functionally be doing is doing a sum of the periodic values in the numerators and dividing it by the month number to get a weighted average value for the month.

Now, the numerator calculation can be achieved by setting the measure to YTD, but how do we get a running average by dividing every value by its corresponding month number.

 

For example, to calculate Average Revenue per user, my calculation is Avg Revenue/Avg Users. Avg Users is an AST account and is calculated in BPC via Scripts.

Avg Revenue being an INC account would go on accumulating when the measure is changed to YTD

 

ParticularsJan-13Feb-13Mar-13Apr-13
Revenue100200300400
Avg Cust5678
Avg Rev/Cust (Periodic)2033.3333333342.8571428650
Avg Rev/Cust (YTD)202528.5714285731.25
Avg Rev/Cust (QTD)202528.5714285750

 

The requirement is pretty similar to Weighted Average Calculation for FTE's, I guess. So if the Original Poster of that thread found some solution as well, it would be great if he contribute as well.

 

 

Thanks


Viewing all articles
Browse latest Browse all 9041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>