Forum Discussion
QuickBaseCoachD
7 years agoQrew Captain
It needs a semi colin on his first line
var Number Max = Max([Total Green Workstream Status], [Total Yellow Workstream Status], [Total Red Workstream Status]);
var Number Max = Max([Total Green Workstream Status], [Total Yellow Workstream Status], [Total Red Workstream Status]);
QuickBaseCoachD
7 years agoQrew Captain
Make this change to blank the result if all zero.
If([PicExistsFull], "<a target='_blank' href=" & $URL & ">" & $Words & "</a>", " ")
)
be sure that the field properties of the the three Totals fields are set to treat blank as zero.
IF($Max > 0,
Case($Max,
[Total Green Workstream Status], "Green",
[Total Yellow Workstream Status], "Yellow",
[Total Red Workstream Status], "Red")If([PicExistsFull], "<a target='_blank' href=" & $URL & ">" & $Words & "</a>", " ")
)
be sure that the field properties of the the three Totals fields are set to treat blank as zero.