• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

Vb.Net - Rolling Average

Good Day Experts!

I have been tasked with creating functionality in VB.Net to show rolling average for Carriers by Customer dollars.

I will code to get list of Carriers then iterate through my Customer list.  However, I am unsure of the rolling average concept.  Would that mean a timespan would have to be defined like weekly between 2 dates? Then get the last week $ total in the date range then the week before then the week before all the while averaging the $ totals together?

I know this sounds vague but any kind of discussion is helpful.

Thanks,
jimbo99999
0
Jimbo99999
Asked:
Jimbo99999
2 Solutions
 
5teveoCommented:
I believe you will need specifications for rolling averages.

Maybe multiple average windows like 1 week, 1 month and quarterly or something...

Make the tool as you described and just leave it flexible for number of days? Time-frames.

Can someone requesting average clarify needs?
0
 
DiscGolfDadCommented:
A rolling or moving average is when you take a set of data points and start with a subset.  For example, a month's worth of data, start with the first seven days (week) and average those numbers to come up with one graph plot.  Then you drop the first day and add the next day in succession and repeat the steps.  The average "rolls" through the data seven days at a time.  So you need to know what the total dataset is, and what your subset will be.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now