Solved

Vb.Net - Rolling Average

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now