By using this website, you agree to our Terms of Use (click here)
Notifications
Clear all
November 19, 2021 9:34 am
2 Replies
November 19, 2021 2:27 pm
You'll need to check for 0s when you do division. Also, you'll probably want to use [SOLine.CuryExtCost] instead of [SOLine.CuryLineCost].
=IIF([SOLine.CuryLineAmt]=0,0,Round((([SOLine.CuryLineAmt]-[SOLine.CuryExtCost])/[SOLine.CuryLineAmt])*100,0))


