Here is a link to my code - https://drive.google.com/file/d/1-Ue0OVG2C-oPRK8GPKkgO0WwsW_8Z4mU/view?usp=share_link
I have a Whatif slider, Adjusted Hours. If a number is put into that slider, I want to create a dynamic value from the "Operation Hours" in my Packages table, using a measure.
Revised Hrs =
IF('Adjusted Hrs'[Adjusted Hrs Value] = 0, SELECTEDVALUE(Packages[Operation Hours]),
'Adjusted Hrs'[Adjusted Hrs Value])
But as soon as I put the Revised Hrs into my table, it returns all the Packages, instead of using the Filter from the selected Allocation (AllocationID=106)
Please could you help, I've tried so many options? Calculate, SUMX, trying to find how to do Rowlevel filtering.
I will then be doing the calculation/adjustment in each record of the the PackageDetail child table.