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...
jkulyk
2 years agoRegular Visitor
yes exactly. Till July the actuals and then the forecasting. Or better till today()
MFelix
2 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])