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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors