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
Solved

Vb.Net - Rolling Average

Posted on 2013-12-16
2
260 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

792 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