Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.
Category | Product | Price |
A | A1 | 100 |
A | A2 | 50 |
B | B1 | 100 |
Price adjustment category A = 10
Price adjustment ratio category B = 0,5
Simulated prices
A1 = 110
A2 = 60
B1 = 105
Chris
Solved! Go to Solution.
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?
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?
Hi @lbendlin ,
Thanks, I got it to work with two What if -parameters and adding an IF statement to the scenario calculation measure.
Br,
Christer
User | Count |
---|---|
20 | |
18 | |
17 | |
11 | |
7 |
User | Count |
---|---|
28 | |
27 | |
13 | |
12 | |
12 |