Conditional Formatting in Reporting Table

I have created a report in the Report Designer (Ignition version 7.9) and I would like to have the color of the text in one of the fields change based on the value in that field. Basically, I’d like to turn the text red if the value is below a threshold. I see no easy way to do this. Am I going to have to dig into scripting on the report?

If you click on the field and look at its properties, you will see ‘Text Color’. Right-click this field and select ‘Use dynamic data key’.

Now you can enter an expression for the colour of the field e.g. input>2?"red":"blue". Look here in the manual.

4 Likes

Perfect! That did the trick.

Thanks