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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.