Solved

Vb.Net - Rolling Average

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

13 Experts available now in Live!

Get 1:1 Help Now