Hi folks,
I'm trying to change the background color of a cell, based on a calculated value.
The use case is looking to see which invoices are due to be paid or overdue.
So if the days to pay are less than or equal to 0 that should be red, between 0-10 amber (ie they are coming up to be paid).
I'm not even sure if this is possible as I can't find any reference to conditional formatting using expressions.
Thanks
aggregator.displayformat=HTML
aggregator.function=AVG
aggregator.valueexpression=DATEDIFF({DE:Invoice Date},$$TODAY)
displayname=Days to Invoice Payment
linkedname=direct
styledef.case.0.comparison.icon=false
styledef.case.0.comparison.leftmethod=DATEDIFF({DE:Invoice Date},$$TODAY)
styledef.case.0.comparison.lefttext=DATEDIFF({DE:Invoice Date},$$TODAY)
styledef.case.0.comparison.operator=lt
styledef.case.0.comparison.operatortype=double
styledef.case.0.comparison.righttext=0
styledef.case.0.comparison.trueproperty.0.name=bgcolor
styledef.case.0.comparison.trueproperty.0.value=eac6c9
styledef.case.0.comparison.truetext=
styledef.case.1.comparison.icon=false
styledef.case.1.comparison.leftmethod=DATEDIFF({DE:Invoice Date},$$TODAY)
styledef.case.1.comparison.lefttext=DATEDIFF({DE:Invoice Date},$$TODAY)
styledef.case.1.comparison.operator=between
styledef.case.1.comparison.operatortype=double
styledef.case.1.comparison.righttext=0
styledef.case.1.comparison.righttextrange=10
styledef.case.1.comparison.trueproperty.0.name=bgcolor
styledef.case.1.comparison.trueproperty.0.value=feecc8
styledef.case.1.comparison.truetext=
textmode=true
valueexpression=DATEDIFF({DE:Invoice Date},$$TODAY)
valueformat=HTML