Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Average Dynamically

Hi All,

I have an issue to calculate average dynamically as Cummulative average at front end

PFA my sample file.

I have Year Month as dimension and sum(APE) as expression.

Now I want to calculate MAPE which is average of values calculated as cummulative summation.

MAPE CAlculation is >>

2014-01 = average(B$2)

2014-02 = average(B$2:B3)

2014-03 = average(B$2:B4)  ........................  and so on

Please help me in achieving it...

Year
  Month
APEMAPE
2014-0165.00%65.00%
2014-0256.00%60.50%
2014-0386.00%69.00%
2014-0499.00%76.50%
2014-05164.00%94.00%
2014-0632.00%83.67%
2014-07143.00%

92.14%

1 Solution

Accepted Solutions
Not applicable
Author

Hi Nitin,

Use this expression to calculate running average , i tried it and its working

=Num(RangeSum(Above(Sum(APE),0,RowNo()))/RowNo(),'#,##0.00')

I have also attached QVW, PFA

Regards,

Vivek

View solution in original post

3 Replies
Not applicable
Author

Hi Nitin,

Use this expression to calculate running average , i tried it and its working

=Num(RangeSum(Above(Sum(APE),0,RowNo()))/RowNo(),'#,##0.00')

I have also attached QVW, PFA

Regards,

Vivek

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Actually a little simpler:

     RangeAvg(Above(Sum(APE),0,RowNo()))

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Hi Try this

RangeAvg(Above(column(1),0,rowno()))

hope this will helps you