Forum Discussion
Forecast modeling for Financials
- 5 years ago
Hi CraigMoran ,
Not clear your model, I created the following sample data and measure. Does this match your expected output?
Measure = CALCULATE( SUM('Table'[Amount]), ALLEXCEPT( 'Table', 'Table'[Type] ) ) - CALCULATE( SUM('Table'[Amount]), FILTER( ALL('Table'), 'Table'[Type] = MAX('Table'[Type]) && 'Table'[Date] < MIN('Table'[Date]) ) ) * SUM('Table'[Value%]) / CALCULATE( SUM('Table'[Value%]), FILTER( ALL('Table'), 'Table'[Type] = MAX('Table'[Type]) && 'Table'[Date] >= MIN('Table'[Date]) ) )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi CraigMoran ,
What do the different rows in your data mean? Why do you use the forecast data in line 51 instead of data in line 56 for calculations?
Best Regards,
Winniz
So the 3 rows are % of actuals, budget and Bestview. So in finance we set a budget a spread it over the 12 months before the year starts. As actuals come in we have adjust the % spend in each month to hit the yearly budget amount. The slight changes are bestviews that hyappen through out the year. I hope that was a good answer to your question
- v-kkf-msft5 years agoCommunity Support
Hi CraigMoran ,
Not clear your model, I created the following sample data and measure. Does this match your expected output?
Measure = CALCULATE( SUM('Table'[Amount]), ALLEXCEPT( 'Table', 'Table'[Type] ) ) - CALCULATE( SUM('Table'[Amount]), FILTER( ALL('Table'), 'Table'[Type] = MAX('Table'[Type]) && 'Table'[Date] < MIN('Table'[Date]) ) ) * SUM('Table'[Value%]) / CALCULATE( SUM('Table'[Value%]), FILTER( ALL('Table'), 'Table'[Type] = MAX('Table'[Type]) && 'Table'[Date] >= MIN('Table'[Date]) ) )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.