Conditional formatting of a text component
Posted: Wed Jun 09, 2021 12:29 pm
Hi,
I added in the report header a text component that shows an expression calculated based on MysQL table field, such as SUM(tableA.field1).
I need this text component to change its background color based on the calculated value (eg if the sum is greater than 10, get a green background color).
I have tried several options using the conditional formatting feature, but I could never get it work.
How should I configure the conditionl formatting in this case where the text component is showing the result of an expression?
Thanks,
Jose Luis
I added in the report header a text component that shows an expression calculated based on MysQL table field, such as SUM(tableA.field1).
I need this text component to change its background color based on the calculated value (eg if the sum is greater than 10, get a green background color).
I have tried several options using the conditional formatting feature, but I could never get it work.
How should I configure the conditionl formatting in this case where the text component is showing the result of an expression?
Thanks,
Jose Luis