Forum Discussion
Anonymous
4 years agoNot applicable
Cumulative Budget Allocation Formula With Mismatched Granularities
Hi, I'm currently working on a measure that calculates the cumulative budget allocation with mismatched granularities. I used this Blog by Enterprise DNA to get the formulations of my measures. A...
Anonymous
4 years agoNot applicable
Hi Anonymous ,
Thank you for your response, but that assumes that the budgets are linear. We can assume that the budget is linear within each day of the month, but each month has a different budget.
These are roughly the formulations I'm looking for:
From my second screenshot in my original post you can see the [BudgetAllocation] measure provides the daily budget for each month (shown as [April Daily Budget] in the screenshot above). [BudgetAllocation 3] does basically what [Cumulative April Daily Budget] does, but doesn't consider the months prior.
| Date | BudgetAllocation | BudgetAllocation 2 | BudgetAllocation 3 | CumulativeBudgetAllocation |
| 1-Apr-22 | 655.68 | 12457.87 | 655.68 | 655.68 |
| 4-Apr-22 | 655.68 | 12457.87 | 1311.36 | 1311.36 |
| 5-Apr-22 | 655.68 | 12457.87 | 1967.03 | 1967.04 |
| 6-Apr-22 | 655.68 | 12457.87 | 2622.71 | 2622.72 |
| 7-Apr-22 | 655.68 | 12457.87 | 3278.39 | 3278.4 |
| 8-Apr-22 | 655.68 | 12457.87 | 3934.07 | 3934.08 |
| 11-Apr-22 | 655.68 | 12457.87 | 4589.74 | 4589.76 |
| 12-Apr-22 | 655.68 | 12457.87 | 5245.42 | 5245.44 |
| 13-Apr-22 | 655.68 | 12457.87 | 5901.1 | 5901.12 |
| 14-Apr-22 | 655.68 | 12457.87 | 6556.78 | 6556.8 |
| 19-Apr-22 | 655.68 | 12457.87 | 7212.45 | 7212.48 |
| 20-Apr-22 | 655.68 | 12457.87 | 7868.13 | 7868.16 |
| 21-Apr-22 | 655.68 | 12457.87 | 8523.81 | 8523.84 |
| 22-Apr-22 | 655.68 | 12457.87 | 9179.49 | 9179.52 |
| 25-Apr-22 | 655.68 | 12457.87 | 9835.16 | 9835.2 |
| 26-Apr-22 | 655.68 | 12457.87 | 10490.84 | 10490.88 |
| 27-Apr-22 | 655.68 | 12457.87 | 11146.52 | 11146.56 |
| 28-Apr-22 | 655.68 | 12457.87 | 11802.2 | 11802.24 |
| 29-Apr-22 | 655.68 | 12457.87 | 12457.87 | 12457.92 |
| 2-May-22 | 608.2 | 12772.28 | 608.2 | 13066.12 |
| 3-May-22 | 608.2 | 12772.28 | 1216.41 | 13674.32 |
| 4-May-22 | 608.2 | 12772.28 | 1824.61 | 14282.52 |
| 5-May-22 | 608.2 | 12772.28 | 2432.82 | 14890.72 |
| 6-May-22 | 608.2 | 12772.28 | 3041.02 | 15498.92 |
| 9-May-22 | 608.2 | 12772.28 | 3649.22 | 16107.12 |
| 10-May-22 | 608.2 | 12772.28 | 4257.43 | 16715.32 |
I'm looking for the [CumulativeBudgetAllocation]. I've highlighted where [BudgetAllocation3] and what I'm looking for start to differ on the first workday of May (2-May-22).