Dashboards & Visualizations

color values in a column based on percent difference +/-

jrjarcher
New Member

I have a table with 1 column that is the "delta" column. It contains a value that is the result of subtracting a value from column-A from column-B. I'd like to color the "delta" column as follows: if the delta value is >-10% color = Red; -5 to -10% color = orange, 0 to -4% color = yellow; +0 to +5% color = clear, i.e. no color; >+5% color = green.

I see I can set a min, mid, max percentage, but I'd like to specify these ranges & colors, if possible.

Tags (2)
0 Karma

to4kawa
Ultra Champion

why substracting result is percentage?

0 Karma

jrjarcher
New Member

Are you referring to the '-' character in the percentage ranges? That's meant to be a negative percentage. So, if a delta is 10% less when compared to a baseline value, we want to see that value's color as red.

0 Karma

jrjarcher
New Member

Thought of a way to solve this. I created another column that is percentages. I can then use the "range" and set colors for all the different percentages that I want!!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...