Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Pro rata monthly budget by week

$
0
0
I need to pro-rata a monthly budget so that a greater proportion is allocated to beginning of month.They want it to be:working days 1-5 = 40% of total budget6-10 = 30%10-15 = 20%15+ = 10%There is a table currently in the system called x_workdates:Seqno Date Weekday Workday2071 1/09/2016 5 12072 2/09/2016 6 12073 3/09/2016 7 02074 4/09/2016 1 02075 5/09/2016 2 1Any ideas on the best way to go about this would be great.Thanks

Viewing all articles
Browse latest Browse all 3145

Trending Articles