<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547534#M155267</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/84490"&gt;@jenniferhao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like 7.3.3 handles the hidden html slightly differently, so just add an empty div block to the html so it gets passed for rendering&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;      &amp;lt;html&amp;gt;
        &amp;lt;div/&amp;gt;
        &amp;lt;style&amp;gt;
          #tableCellColourWithoutJS table tbody td div.multivalue-subcell[data-mv-index="1"]{
            display: none;
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 12 Apr 2021 07:56:38 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-04-12T07:56:38Z</dc:date>
    <item>
      <title>on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546922#M155041</link>
      <description>&lt;P&gt;Is there a way to get field's background color by compare with 2 fields numbers? for example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jenniferhao_0-1617737591436.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13639iDE828C6D511BDF45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jenniferhao_0-1617737591436.png" alt="jenniferhao_0-1617737591436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If "POST IPTV CALLS"'s value &amp;gt; "PRE IPTV CALLS"'s value, then its background become in red.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I know JS can do it, but somehow we need to keep the dashboard as Simple XML. Any idea?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 19:37:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546922#M155041</guid>
      <dc:creator>jenniferhao</dc:creator>
      <dc:date>2021-04-06T19:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546928#M155044</link>
      <description>&lt;P&gt;Here is an example of how you might do it. Essentially, you convert your fields to multi-value fields with the second element being an indicator of the colour you want. Then you use the colour palette to set the colour and you use CSS style to hide the second element of the multi-value field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;panel depends="$stayhidden$"&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;div/&amp;gt;
        &amp;lt;style&amp;gt;
          #tableCellColourWithoutJS table tbody td div.multivalue-subcell[data-mv-index="1"]{
            display: none;
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="tableCellColourWithoutJS"&amp;gt;
        &amp;lt;title&amp;gt;Colour Cell by Previous&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults | eval _raw="Messages	Nov_20	Dec_20	Jan_21	Feb_21
Messge 0	0       1       0     0
Messge 1	1       3       1     1
Messge 2	11      0       0     0
Messge 3	1       0       0     0
Messge 4	9       5       0     0
Messge 5	1       1       0     0
Messge 6	1       1       0     0
Messge 7	0       1       0     0"
| multikv forceheader=1
| fields - _raw _time linecount
| fields - _mkv*
| transpose 0 header_field=Messages column_name=Month
| eval Month=strptime(Month . "_01", "%b_%y_%d")
| sort - Month
| autoregress Month as next p=1
| eval months=mvappend(Month, next)
| fields - next
| mvexpand months
| stats list(*) as * by months
| where months != "months"
| foreach *
  [ eval sign=(tonumber(mvindex('&amp;amp;lt;&amp;amp;lt;FIELD&amp;amp;gt;&amp;amp;gt;',0)) - tonumber(mvindex('&amp;amp;lt;&amp;amp;lt;FIELD&amp;amp;gt;&amp;amp;gt;', 1)))
  | eval sign = sign / abs(sign)
  | fillnull value=0 sign
  | eval sign=if(sign &amp;amp;lt; 0, "RED", if(sign &amp;amp;gt; 0, "GREEN", "YELLOW"))
  | eval &amp;amp;lt;&amp;amp;lt;FIELD&amp;amp;gt;&amp;amp;gt;=mvappend(mvindex('&amp;amp;lt;&amp;amp;lt;FIELD&amp;amp;gt;&amp;amp;gt;', 0),sign)
  | fields - sign ]
| fields - months
| eval Month=mvindex(Month,0)
| sort Month
| eval Month=strftime(Month, "%b %y")
| transpose 0 header_field=Month column_name=Messages&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;format type="color"&amp;gt;
          &amp;lt;colorPalette type="expression"&amp;gt;case (match(value,"RED"), "#ff0000",match(value,"YELLOW"), "#ffff00",match(value,"GREEN"),"#00ff00",true(),"#ffffff")&amp;lt;/colorPalette&amp;gt;
        &amp;lt;/format&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 07:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546928#M155044</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-12T07:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546935#M155045</link>
      <description>&lt;P&gt;This is a very smart idea. But it's not what I want. I just want to post columns have red/green colors, but not compare every column. And the colors names cannot show up with the data.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 21:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546935#M155045</guid>
      <dc:creator>jenniferhao</dc:creator>
      <dc:date>2021-04-06T21:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546938#M155046</link>
      <description>&lt;P&gt;You don't need to compare all the columns (foreach), you can just check the column you want&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval 'POST IPTV CALLS'=if('POST IPTV CALLS'&amp;gt;'PRE IPTV CALLS',mvappend('POST IPTV CALLS',"RED"),'POST IPTV CALLS')&lt;/LI-CODE&gt;&lt;P&gt;The display:none; for&amp;nbsp;data-mv-index="1" stops the colour being shown.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 21:16:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546938#M155046</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-06T21:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546945#M155050</link>
      <description>&lt;P&gt;The display:none; for data-mv-index="1" doesn't stop the color name being shown. See below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;dashboard&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Only SimpleXML no JS required&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;#tableRowColorWithoutJS table tbody td div.multivalue-subcell[data-mv-index="1"]{&lt;BR /&gt;display: none;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;table id="tableWitColor"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Table with Value and Color Combined (With Simple XML Color Palette Expression)&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;| makeresults&lt;BR /&gt;| eval data= "C1 1 2 10 20;C2 3 2 5 4;C3 5 4 5 3;C4 6 4 8 2;"&lt;BR /&gt;| makemv data delim=";"&lt;BR /&gt;| mvexpand data&lt;BR /&gt;| makemv data delim=" "&lt;BR /&gt;| eval Client=mvindex(data,0), pre1=mvindex(data,1), post1=mvindex(data,2), pre2=mvindex(data,3), post2=mvindex(data,4)&lt;BR /&gt;| fields - _time data&lt;BR /&gt;| eval post1=if( post1 &amp;amp;gt; pre1,mvappend(post1,"RED"),post1)&lt;BR /&gt;| eval post2=if( post2 &amp;amp;gt; pre2,mvappend(post2,"RED"),post2)&lt;BR /&gt;|table pre1 post1 pre2 post2&lt;BR /&gt;&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="post1"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(match(value,"RED"),"#FF0000", "#65A637")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="post2"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(match(value,"RED"),"#FF0000","#65A637")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;/dashboard&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jenniferhao_0-1617746867114.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13645i82F042BA8CDF3689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jenniferhao_0-1617746867114.png" alt="jenniferhao_0-1617746867114.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 22:08:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546945#M155050</guid>
      <dc:creator>jenniferhao</dc:creator>
      <dc:date>2021-04-06T22:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546950#M155053</link>
      <description>&lt;LI-CODE lang="markup"&gt;#tableRowColorWithoutJS&lt;/LI-CODE&gt;&lt;P&gt;Needs to be changed to the id of your table&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#tableWitColor&lt;/LI-CODE&gt;&lt;P&gt;So that the style is applied to your table&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 22:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546950#M155053</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-06T22:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546958#M155057</link>
      <description>&lt;P&gt;A good catch. But it doesn't work. The "RED" still shows up.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 02:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546958#M155057</guid>
      <dc:creator>jenniferhao</dc:creator>
      <dc:date>2021-04-07T02:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546966#M155060</link>
      <description>&lt;P&gt;Can you post your actual SimpleXML as the example you posted with the correction for the table id works for me?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 05:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/546966#M155060</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-07T05:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547042#M155080</link>
      <description>&lt;P&gt;&amp;lt;dashboard&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Only SimpleXML no JS required&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;#tableWitColor table tbody td div.multivalue-subcell[data-mv-index="1"]{&lt;BR /&gt;display: none;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;table id="tableWitColor"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Table with Value and Color Combined (With Simple XML Color Palette Expression)&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;| makeresults&lt;BR /&gt;| eval data= "C1 1 2 10 20;C2 3 2 5 4;C3 5 4 5 3;C4 6 4 8 2;"&lt;BR /&gt;| makemv data delim=";"&lt;BR /&gt;| mvexpand data&lt;BR /&gt;| makemv data delim=" "&lt;BR /&gt;| eval Client=mvindex(data,0), pre1=mvindex(data,1), post1=mvindex(data,2), pre2=mvindex(data,3), post2=mvindex(data,4)&lt;BR /&gt;| fields - _time data&lt;BR /&gt;| eval post1=if( post1 &amp;amp;gt; pre1,mvappend(post1,"RED"),post1)&lt;BR /&gt;| eval post2=if( post2 &amp;amp;gt; pre2,mvappend(post2,"RED"),post2)&lt;BR /&gt;|table pre1 post1 pre2 post2&lt;BR /&gt;&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="post1"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(match(value,"RED"),"#FF0000", "#65A637")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="post2"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(match(value,"RED"),"#FF0000","#65A637")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;/dashboard&amp;gt;&lt;BR /&gt;&lt;BR /&gt;You can see the "RED" still on the table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jenniferhao_0-1617805169341.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13654i978288721064DF4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jenniferhao_0-1617805169341.png" alt="jenniferhao_0-1617805169341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:19:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547042#M155080</guid>
      <dc:creator>jenniferhao</dc:creator>
      <dc:date>2021-04-07T14:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547046#M155081</link>
      <description>&lt;P&gt;The html with the style needs to be in its own panel (which you can hide with depends)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard&amp;gt;
&amp;lt;row&amp;gt;
&amp;lt;panel depends="$stayhidden$"&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;div/&amp;gt;
&amp;lt;style&amp;gt;
#tableWitColor td div.multivalue-subcell[data-mv-index="1"]{
display: none;
}
&amp;lt;/style&amp;gt;
&amp;lt;/html&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;panel&amp;gt;
&amp;lt;table id="tableWitColor"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 07:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547046#M155081</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-12T07:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547446#M155247</link>
      <description>&lt;P&gt;I tested same above code on different browsers and got same result. But when I tested with different Splunk versions and got the different results. Tested it on V7.3.3 and V8.1.2. The results are wrong which display the number with "RED". ONLY on Splunk V8.1.3. I got the correct result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for help.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 21:05:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547446#M155247</guid>
      <dc:creator>jenniferhao</dc:creator>
      <dc:date>2021-04-09T21:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547450#M155248</link>
      <description>&lt;P&gt;Interesting. I am working on 8.0.3 and 8.1.3 and it works there, although to be fair, the styles are slightly different.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 21:16:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547450#M155248</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-09T21:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: on Simple XML with colorPalette to select the color by comparing 2 fields numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547534#M155267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/84490"&gt;@jenniferhao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like 7.3.3 handles the hidden html slightly differently, so just add an empty div block to the html so it gets passed for rendering&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;      &amp;lt;html&amp;gt;
        &amp;lt;div/&amp;gt;
        &amp;lt;style&amp;gt;
          #tableCellColourWithoutJS table tbody td div.multivalue-subcell[data-mv-index="1"]{
            display: none;
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 12 Apr 2021 07:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/on-Simple-XML-with-colorPalette-to-select-the-color-by-comparing/m-p/547534#M155267</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-04-12T07:56:38Z</dc:date>
    </item>
  </channel>
</rss>

