Im trying to write a formula that will generate a total profit %.
In the GF I have used the following :
if sum ({@Work Done},{JCPERTOT.COMPANY}) = 0
then 0
else
(sum({@Profit Multi},{JCPERTOT.COMPANY})/sum({@Work Done},{JCPERTOT.COMPANY}))*100
I now want to do a grand total profit percentage also in the gf, I tried the following but it tells me Im missing a (.
if sum (Sum ({@GRAND}, {JCPERTOT.COMPANY}) = 0
then 0
else
(sum(Sum ({@Grand Profit },{JCPERTOT.COMPANY})/sum(Sum ({@GRAND},{JCPERTOT.COMPANY}))*100
If anyone can point me in the right direction it would be greatly appreciated.
Thanks
Chris