Valueexpression in style rule?
In a report, I am trying to get the column for the Duration as of Today [WEEKDAYDIFF({actualStartDate},$$TODAY)] to show as red if the planned duration is less than the Duration as of Today. Below is what I have.
displayname=Duration as of Today
linkedname=direct
namekey=actualStartDate
querysort=actualStartDate
styledef.case.0.comparison.icon=false
styledef.case.0.comparison.leftmethod=duration
styledef.case.0.comparison.lefttext=duration
styledef.case.0.comparison.operator=lt
styledef.case.0.comparison.operatortype=double
styledef.case.0.comparison.righttext=WEEKDAYDIFF({actualStartDate},$$TODAY)
styledef.case.0.comparison.trueproperty.0.name=textcolor
styledef.case.0.comparison.trueproperty.0.value=d30519
styledef.case.0.comparison.truetext=
textmode=true
valueexpression=WEEKDAYDIFF({actualStartDate},$$TODAY)
valueformat=customNumberAsString
It works if I use a number (e.g., "34") rather than "WEEKDAYDIFF({actualStartDate},$$TODAY)" for the line in bold, which leads me to believe my syntax isn't correct. I tried taking actualStartDate out of the curly brackets but that didn't work. Does anyone have a clue how I can make this work?
