I have set the formula to count the margin, I’m not sure is the formula correct?
=([Products.CuryUnitPrice]-[Products.curyUnitCost])/[Products.CuryUnitPrice]
does someone know how to solve this problem?
After I set the formula, it come out the error. “Divide by Zero error encountered”.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/62d43896-0f2c-4fc2-b3ee-b757fc8fab4b.png)
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/9559e86b-bb97-4cd4-ae67-58b747945811.png)
Best answer by Naveen Boga
View original