cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors