I’m doing the calculation you mentioned but it still shows the issue in few scenario(s).
Any help would be appreciated. Thanks!
Thank you Peter for your help. It worked in the scenarios where it was not working earlier. But I started seeing in other scenarios now:
Link to the Image