Hello,
Working on a GI to replicate some Excel reporting we are doing outside the system.
I am receiving an error on the Formula for “Margin in Backlog (%)” , the error is Divide by zero error encountered. Can anyone notice anything wrong with the below formula or another way to avoid the divide by zero error?
Thanks,
KT
Margin in Backlog (%) Formula
=100*((sum(IIf( uPMBudget.Type]=tRev] And ePMBudget.CuryRevisedAmount] <> 0, &PMBudget.CuryRevisedAmount], Null))-sum(IIf( uPMBudget.Type]=tRev] And ePMBudget.CuryActualAmount] <> 0, &PMBudget.CuryActualAmount], Null))-(sum(IIf( uPMBudget.Type]=tCost] And sPMBudget.CuryRevisedAmount] <> 0, &PMBudget.CuryRevisedAmount], Null))-sum(IIf( uPMBudget.Type]=tCost] And sPMBudget.CuryActualAmount] <> 0, &PMBudget.CuryActualAmount], Null))))/(sum(IIf( uPMBudget.Type]=tRev] And ePMBudget.CuryRevisedAmount] <> 0, &PMBudget.CuryRevisedAmount], Null))-sum(IIf( uPMBudget.Type]=tRev] And ePMBudget.CuryActualAmount] <> 0, &PMBudget.CuryActualAmount], Null))))