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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

What if parameters, scenario analysis

Hi,

 

What would be the best solution for the cae described below. My own knowledge in Power BI is too limited to figure this out.

 

I got a table with product category, products and current unit prices. There are two product categories, A and B. I want to simulate new unit prices for all products within category A, either as pecentages or as whole numbers. Preferably that the user can choose either way.

 

Price adjustments for the products in category B, would be as a function of the adjustment made for category A, for example 50% of the adjustment. The ratio would be user defined. 

 

The simulated prices would then be used for calculating different what-if scenarios. Volumes are in a different table.

 

CategoryProductPrice
AA1100
AA250
BB1100

 

Price adjustment category A = 10

Price adjustment ratio category B = 0,5

 

Simulated prices

A1 = 110

A2 = 60

B1 = 105

 

Chris

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You would want two separate What-If parameters, one for the adjustment of A and the other for the percentage of B. Have you tried that yet?

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

You would want two separate What-If parameters, one for the adjustment of A and the other for the percentage of B. Have you tried that yet?

Anonymous
Not applicable

Hi @lbendlin ,

 

Thanks, I got it to work with two What if -parameters and adding an IF statement to the scenario calculation measure. 

 

celenius_1-1596438839876.png

 

Br,

 

Christer

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.