Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jkulyk
Regular 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 have a matrix with the actual data "price","quantity" and "Sales" for each month and want to calculate the sales for the rest of the year based on the parameters price&quantity. (need to change the parameters on the front end to see how the sales will develop)

 

Does anyone has an advice for building this in a clear structured way? (or tips for visuals)

 

Best Regrads 

Johannes

8 REPLIES 8
MFelix
Super User
Super User

Hi @jkulyk ,

 

Have you tried using the What-If parameter?

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-what-if

 

You can create a table with a range of values and then use them on a dax calculation on top of your actuals.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



yes, i tried the what if parameters. But its not really working..

Do you mean to build a table like this?

jkulyk_0-1722343084366.png

 

Hi @jkulyk,

 

The option is to create those what if parameters and the have a calculated measure to pick up the values.

 

Can you please give an example of what you want to achieve and the setup of your model. that will help to give you a more appropiate answer.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



hi:) the problem is that i dont want to calc the what if parameters on top of my actuals. I have my actuals till today and then i want fixed values from the what if parameters:

jkulyk_0-1722595503853.png

As you see its not working because i cant link the parameters to a specific date range...

 

 

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?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



yes exactly. Till July the actuals and then the forecasting. Or better till today() 

 

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])

MFelix_0-1722869772039.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



jkulyk_1-1722595641789.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.