This is my formula:
if Sum ({JCCD.EstHours}, {JCCD.Phase})= 0 then 0
else if Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs}= 0
then 0
else ((Sum ({JCCD.ActualHours}, {JCCD.Phase})/(Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs})))
This works great however they project managers would like to see something like this instead:
if Sum ({JCCD.EstHours}, {JCCD.Phase})= 0 then 0
else if Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs}= 0
then INF [highlight #FCE94F]//Replace the 0 with and Infinity symbol or INF[/highlight]
else ((Sum ({JCCD.ActualHours}, {JCCD.Phase})/(Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs})))
Is it possible to put text within the formula somehow? It asks me for a number if I try to change it.
Thanks!
if Sum ({JCCD.EstHours}, {JCCD.Phase})= 0 then 0
else if Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs}= 0
then 0
else ((Sum ({JCCD.ActualHours}, {JCCD.Phase})/(Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs})))
This works great however they project managers would like to see something like this instead:
if Sum ({JCCD.EstHours}, {JCCD.Phase})= 0 then 0
else if Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs}= 0
then INF [highlight #FCE94F]//Replace the 0 with and Infinity symbol or INF[/highlight]
else ((Sum ({JCCD.ActualHours}, {JCCD.Phase})/(Sum ({JCCD.ActualHours}, {JCCD.Phase})+{@ToDate+-Hrs})))
Is it possible to put text within the formula somehow? It asks me for a number if I try to change it.
Thanks!