Conditional Formatting Based on Two Fields
I am just having a mental block on this one…
I have two fields on an assignment report:
- workRequired (hours assigned to user on a task)
- actualWorkCompleted (hours logged by that assigned user against that task)
These work fine. But I am trying to conditionally format the actualWorkCompleted value bold and red if it is greater than workRequired. But despite trying a bunch of different combinations both in the Advanced area and going into text mode, I can't get the bold/red to work.
You'll note a blue field behind this column (case.0), which is basically a blue field behind the entire column regardless of value.
I'm guessing I'm missing some key point to get this to work?
displayname=TEST
linkedname=direct
namekey=actualWorkCompleted
querysort=actualWorkCompleted
styledef.case.0.comparison.icon=false
styledef.case.0.comparison.leftmethod=status
styledef.case.0.comparison.lefttext=status
styledef.case.0.comparison.operator=notblank
styledef.case.0.comparison.righttext=
styledef.case.0.comparison.trueproperty.0.name=bgcolor
styledef.case.0.comparison.trueproperty.0.value=DBF3FA
styledef.case.0.comparison.truetext=
styledef.case.1.comparison.icon=false
styledef.case.1.comparison.leftmethod=actualWorkCompleted
styledef.case.1.comparison.lefttext=actualWorkCompleted
styledef.case.1.comparison.operator=gt
styledef.case.1.comparison.operatortype=double
styledef.case.1.comparison.righttext=workRequired
styledef.case.1.comparison.trueproperty.0.name=fontstyle
styledef.case.1.comparison.trueproperty.0.value=bold
styledef.case.1.comparison.trueproperty.1.name=textcolor
styledef.case.1.comparison.trueproperty.1.value=d30519
styledef.case.1.comparison.truetext=
textmode=true
valuefield=actualWorkCompleted
valueformat=compound
viewalias=actualWorkCompleted