I forgot to mention the obvious...What I need to do is divide the monthly total by the number of days in the month to arrive at a daily budget number.
I'm wondering if I would need to create a new table with the daily numbers (for several thousand accounts), or if I could reference the daily amount for each month in the expression.
This may or may not be helpful but I wrote a blog about this a while back, it helps you deal with holidays and weekends when projecting your budget from monthly to daily.
This seems to be a good solution. What would be the expression to show the monthly total all dated Jan 1st to be spread about to each work day? Note my budget table has the 1st of each month with the budget totals...I need to divide the sum of those lines dated Jan 1st and times it by max current workdays of this month to get each days totals? Do you have this part of the expression?
Assuming that all days have equal budget:
Count(Date) as Divider
Group By Period;
Budget / Lookup('Divider','Period', Period,'Calender_div') as Daily_Budget
Load * Resident Calender)
Drop tables tmp_Budget, Calender, Calender_div;
If you want to add holidays or your company has some special dates, then you can give excel-file to your business users and they can define working days or production dates there and you can subtract those in script:
Mapping LOAD Date(A,'YYYY-MM-DD') as Date,
C as Open
Also with excel-file you can give different weight for days, if for example Monday has 50% of sales budgeted for certain week.