Forum Discussion
Circular calculation
- 5 years ago
Hi, tlh
To create 2 measures to achieve it:
_Total_Budget = 1700000This measure indicates how much the total budget is, and you can change it to suit your needs.
Then, to create a calculate column below:
Remaining = [_Total_Budget] - CALCULATE ( SUM ( 'Table'[Expense] ), FILTER ( 'Table', [Date] <= EARLIER ( [Date] ) ) )Result:
Please refer to the attachment below for details
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
tlh , I assuming you only have one entry of budget
calculate( sum(Table[Budget]) , all(Table)) - calculate(sum(Table[expense]), filter(allselected(Table), Table[Date] <= max(Table[Date])))
if they these are from different table please use Date table
calculate( sum(Table[Budget]) , all(Date)) - calculate(sum(Table[expense]), filter(allselected(Date), Date[Date] <= max(Date[Date])))