Valueexpression help using task duration field
Hi WF Community,
I'm looking to create a text mode field on a task report and calculate the difference (variance) between the Duration field and the Actual Duration field. It looks like it should be a simple text mode valueexpression (SUB(number1,number2,...); however, it doesn't seem to be working for me.
Here's what I have (I used modified a different text mode example using planned and actual completion dates):
descriptionkey=duration
displayname=Actual Duration Variance (Days)
linkedname=direct
listsort=duration
namekey=duration
querysort=duration
shortview=false
stretch=45
styledef.case.0.comparison.attribute=css
styledef.case.0.comparison.isrowcase=false
styledef.case.0.comparison.leftmethod=duration
styledef.case.0.comparison.lefttext=duration
styledef.case.0.comparison.operator=notnull
styledef.case.0.comparison.operatortype=number
styledef.case.0.comparison.righttext=
styledef.case.0.comparison.trueproperty.0.name=bgcolor
styledef.case.0.comparison.trueproperty.0.value=dcf6f7
styledef.case.0.comparison.truetext=
styledef.case.0.comparison.usefield=false
textmode=true
valueexpression=SUB(actualDuration,duration)
valueformat=HTML
If anyone knows where I might be going wrong, help would be appreciated. The field is just blank when I use this.
Thanks.
Nick