Change Table Cell Color by Value

I am trying to customize table cell values by color, but cannot seem to get the colors to show properly. I want to have table values between 30-60 for the column “Days to Expiration” to be in yellow color, and for any values 0-30 be in red. I attempted to add an Override field for Days to Expiration, but could not adjust the color thresholds properly. Is there something minor that I may be missing? Any assistance is most appreciated!

Hey @mlaurri
Do you can use Override and Value Mapping.


Value Mapping

2 Likes

@bernardolankheet Thank you for your insights - This worked perfectly! I will confirm your solution as the correct answer, thanks again.

1 Like

Hello,
I would like to do something similar. Unfortunately, after applying the “Colored Background” override, I no longer see the value in the corresponding cell. Only “[object Object]” is displayed.

I use influxdB as data source and use the transformation “Time series to table”.

Can anyone help me?

can you show us the raw table view and the value mapping?