PowerBi WhatIf statement with semi dependent input and output variables

sennals

New Member
Joined
Jun 15, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi,
Looking for some help if anyone has any idea on how to do this. What I need is a calculation in PowerBI, where the user can both change both one of the inputs, or change the output, to see the outcomes.
Simplified, the calculation is I have so many hours of work, at a Cost per hour, equals the total cost:
Hours X CPH = TotalCost
So I have a whatif on the Hours, so the user can adjust the number of hours and see how that effects the total cost. However, what the user also wants to be able to do is in the same calculation, to adjust the total cost and to see what the number of hours would be as a result. So the user can adjust the number of hours and see the total cost, but also adjust the total cost and see the number of hours. CPH always remains fixed. So both Hours and TotalCost are calculated fields, but also the user can write in to them.
Anyone know if there is any way to do this?

Thanks All!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,172
Messages
6,123,428
Members
449,099
Latest member
COOT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top