Format cell if value is different from previous value in the same column


I use Grafana Version 9.2.4 in a official docker image.

I would like to highlight values that changed compared to the previous one. Of course this is per colum (approx. 100 columns). I.e. I would like to change background-color if a value meet the condition != previous value.

I have searched the net and tried to figure it out on my own by adding field overwrites and transforming data - to no avail. So I am basically nowhere and I would appreciate if someone could point me in the right direction.

Thank you

Hi @akreaxun,

Yes it is possible in the table panel as you need to use value mapping and assign a color to it

For e.g. take a look at this demo panel in which we had marked solve as green while unsolved as red using value mapping.

I hope this helps.

Thank you for your reply. Unfortunately, I did not find a mapping that allowed “check against a previous value in the table”.

Your answer is working if you have static values to compare against. Mine change.

By previous value do you mean adjacent column to the left or previous row?

What is your data source?