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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...