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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

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.