Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
hansdevr
Creator III
Creator III

Rolling average

Hi and good morning everyone!

I have a table which shows average project throughput time in days per end of month.

What I would want, is to calculate a "rolling average", but with a twist..

Month 1 should show 38.4, month 2 should show the average of sum of months 1 and 2, and so on.

In the new year, this should be reset and start over again with just the average of month 1.

What would be the best way of achieving this? Through set analysis? Load script?

Any help would be greatly appreciated!

27 Replies
Anil_Babu_Samineni

Sure, Please share Excel file

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

Try this

Aggr(RangeAvg(Above(Throughput time in days expression here, 0, RowNo())), Year, Month)

mdmukramali
Specialist III
Specialist III

Dear @hansdevr

have you checked my attached application?

hansdevr
Creator III
Creator III
Author

See attached...

sunny_talwar

Did you give this a shot?

Aggr(RangeAvg(Above(Throughput time in days expression here, 0, RowNo())), Year, Month)

hansdevr
Creator III
Creator III
Author

I am sorry had to attend a meeting... Will check ASAP

hansdevr
Creator III
Creator III
Author

Thanks Sunny, that did the trick!

hansdevr
Creator III
Creator III
Author

Thanks everyone for thinking with me to solve this!! Thanks again!