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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,223,711
Messages
6,174,025
Members
452,542
Latest member
Bricklin

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