SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Projecting monthly average
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

oasis1
Starting Member

34 Posts

Posted - 11/08/2013 :  11:30:48  Show Profile  Reply with Quote
Hi all, I have been asked to project the monthly totals for the month based off of the daily average of transactions. Does anyone have a formula on how to capture max days in the month as my multiplier. I am thinking I can use date part to get the denominator to divide by. Any help much appreciated mahalo, Brew

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 11/08/2013 :  12:31:55  Show Profile  Reply with Quote
by montly days do you consider even weekends? or just weekdays? what about holidays?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs

Edited by - visakh16 on 11/08/2013 12:38:49
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000