Solved

Vb.Net - Rolling Average

Posted on 2013-12-16
2
262 Views
Last Modified: 2013-12-31
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
Comment
Question by:Jimbo99999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
5teveo earned 250 total points
ID: 39722636
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
 
LVL 2

Assisted Solution

by:DiscGolfDad
DiscGolfDad earned 250 total points
ID: 39722857
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question