Dashboards & Visualizations

How to Apply color coding to a column based on the condition applied to a different column in the same table?

preacher_15
Explorer

Hi All,
I have 3 columns forecast, actuals and percentage. what i need is based on the values of the percentage column i want to apply a condition to it and color the forecast and actuals columns accordingly.
example:
forecast actuals percentage
100 150 1%
300 200 10%

500 400 50%
condition i want to apply is if Percentage is Greater than 1% and less than 10% apply color red to forecast and actuals
if Percentage is Greater than 10% and less than 50% apply color green to forecast and actuals
how can i achieve this using java script and css?

Tags (1)
0 Karma

ashajambagi
Communicator
0 Karma
Get Updates on the Splunk Community!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...