Forum Discussion
Goal Seek
- 4 years ago
Hi naveen73 ,
Please try these measures.
Current Value - Loans = SUM ( 'Table'[Collateral] ) - SUM ( 'Table'[Loans] )G = VAR G2 = 0.8557287 RETURN SUM ( 'Table'[Collateral] ) * G2 - SUM ( 'Table'[Loans] )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi naveen73 ,
Please try these measures.
Current Value - Loans =
SUM ( 'Table'[Collateral] ) - SUM ( 'Table'[Loans] )G =
VAR G2 = 0.8557287
RETURN
SUM ( 'Table'[Collateral] ) * G2
- SUM ( 'Table'[Loans] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Naveen
I appreciate that this post is already marked as solved but not sure that the solution provided actually mimics the goal seek feature of Excel - if the logic is simple you can reverse it to find the unknown variable (as has been proposed) but in a case like this where you need to iterate through the result of multiple calculations I don't believe this approach works!
I've instead proposed an approach using the list.accumulate function in M (excel version https://rsaprahotmail.sharepoint.com/:x:/s/LDIGeneral/EVAB-rjIjAZNjTsKCGO-yT0BmhY7MxFaphB5h-OQBkCAxg?e=Hn6LIN and PBI version https://rsaprahotmail.sharepoint.com/:u:/s/LDIGeneral/EY2hW3C2_INLk0qLjp_jiFsBAxHHITZNixPn3AgI2yDBOw?e=GWnZ2n) - let me know what you think pls!