Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi
I Have two data set, product unit price and allocation, also the product demand. I would like to create a what if simulation that I allocation part A123 in supplier At o 80%, how the spend would change? and It will automatically change supplier B allocation to 20%. Is there any way I can do?
Solved! Go to Solution.
Hi @Anonymous ,
Hope I didnt misundertand your point.
First create a what-if parameter and set the default value as 0.8;
Then create 2 measures as below:
Measure for A = CALCULATE(MAX('Table (2)'[Demand]),'Table (2)'[Parts]="A123")*'Parameter 1'[Parameter 1 Value]Measure for B = CALCULATE(MAX('Table (2)'[Demand]),'Table (2)'[Parts]="A123")*(1-'Parameter 1'[Parameter 1 Value])
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi @Anonymous ,
Hope I didnt misundertand your point.
First create a what-if parameter and set the default value as 0.8;
Then create 2 measures as below:
Measure for A = CALCULATE(MAX('Table (2)'[Demand]),'Table (2)'[Parts]="A123")*'Parameter 1'[Parameter 1 Value]Measure for B = CALCULATE(MAX('Table (2)'[Demand]),'Table (2)'[Parts]="A123")*(1-'Parameter 1'[Parameter 1 Value])
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |