Dashboards & Visualizations

Dashboard format: color a cell of a column (with different value)

dhirajkumar2121
Loves-to-Learn Lots

Hi!

I  have a dashboard with 10 columns,

If value of column 1 and column 2 is different I have to make it as red color,

Similarly I have to do it for column 3-4, 5-6, 7-8, 9-10.

dhirajkumar2121_0-1710749467034.png

I am using below code but it marking whole column red.(I only need red color for values which is different.)

<format type="color" field="Storenumber" >
<colorPalette type="expression"> if (Storeid!=Storenumber,"#53A051","#DC4E41")</colorPalette>

dhirajkumar2121_1-1710749559034.png

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can do this by extending the cells to be a multivalue field with the colour in the second cell and then hide the second cell with css - this assumes Classic dashboard

Solved: Re: How to color cells based on there values and b... - Splunk Community

0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...