I'M TRYING TO CREATE A FURMULA TO CALCULATE THE PROFIT% OF EACH ITEM BY ITS STYLE LIKE THIS
{@T.$i/sSTYLE}/Sum ({@Tcost}, {INV.STYLE})*100
BUT I GOT THE "DIVISION BY ZERO" ERROR, I SEARCHED FOR A SOLUTION AND FIND INFO TO TRY LIKE THIS
if{@T.$i/sSTYLE}<>0 then{@T.$i/sSTYLE}/Sum ({@Tcost}, {LANDINV.STYLE})*100
else 0
BUT I'M STILL GETTING THIS ERROR
CAN ANYBODY HELP ME PLEASE ?
{@T.$i/sSTYLE}/Sum ({@Tcost}, {INV.STYLE})*100
BUT I GOT THE "DIVISION BY ZERO" ERROR, I SEARCHED FOR A SOLUTION AND FIND INFO TO TRY LIKE THIS
if{@T.$i/sSTYLE}<>0 then{@T.$i/sSTYLE}/Sum ({@Tcost}, {LANDINV.STYLE})*100
else 0
BUT I'M STILL GETTING THIS ERROR
CAN ANYBODY HELP ME PLEASE ?