cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors