Page 1 of 1

Conditional formatting of a text component

Posted: Wed Jun 09, 2021 12:29 pm
by jlorue
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

Re: Conditional formatting of a text component

Posted: Fri Jun 11, 2021 1:09 pm
by Lech Kulikowski
Hello Jose,

Please try to use the Totals.Sum() function in the Conditions. If the issue still present, please send us a sample report with test data that reproduces the issue for analysis.

Thank you.