I am working on a Grafana table visualization connected to SQL Server, and I need to apply color formatting to individual cells that contain percentage values. Specifically, I want to:
Color cells red if the percentage is less than 0
Color cells green if the percentage is greater than 0
Additionally, I would like to change the text color (font color) within these cells based on the value.
Could anyone provide guidance on how to achieve this in Grafana using SQL Server queries or Grafana’s settings?
Thank you for the suggestion! However, I would like to mention that the columns for the dates in my table are dynamic, meaning the column titles are not static. This adds a layer of complexity to applying conditional formatting, as the columns can change depending on the data displayed.
Do you have any suggestions on how to handle this dynamic nature of the table while still implementing the cell color formatting?