Forum Discussion
jkulyk
2 years agoRegular Visitor
Financial Forecasting
Hi 🙂 I would like to build a simple financial forecasting model based on "price" and "quantity" for the rest of 2024. The "actuals" coming in to my model each month from SQL database. Now, I h...
MFelix
2 years agoSuper User
Hi jkulyk ,
How do you want to have those values incremented do you want to select the last Actuals and then the 99.000 every month, or how is that split done?
jkulyk
2 years agoRegular Visitor
yes exactly. Till July the actuals and then the forecasting. Or better till today()
- MFelix2 years agoSuper User
Hi jkulyk
Try the following code:
Total Sales + Forecast = var temptable = SUMMARIZE( 'calendar', 'calendar'[monht], 'calendar'[year], "Value", IF( MAX('calendar'[Date]) <= EOMONTH( TODAY(), 0 ), SUM(Salers[Value]), [PRice Value] * [Quantity Value] ) ) Return Sumx(temptable, [Value])