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]);
- AylinNazlim7 years agoQrew CadetYay that worked! Also, how would I change the formula to keep the field blank if there are no related Workstream Status Records?
- QuickBaseCoachD7 years agoQrew CaptainMake this change to blank the result if all 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.