<?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 How to change a Simple XML table height when no results is found? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648202#M53035</link>
    <description>&lt;P&gt;The solution in&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/How-do-you-make-a-table-that-reduces-in-height-when-your/m-p/648184#M224298" target="_blank" rel="noopener"&gt;Solved: Re: How do you make a table that reduces in height... - Splunk Community&lt;/A&gt;&amp;nbsp;does not work anymore, at least not for&amp;nbsp;&lt;SPAN&gt;Splunk Cloud version 9.0.2303.201.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hopefully it's just a simple tweak that's needed?&lt;BR /&gt;&lt;BR /&gt;**UPDATE** I'm adding a screenshot and the code that I use that used to work:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gabriel_vasseur_0-1687853542173.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26026i2D4BB226CBF7E889/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gabriel_vasseur_0-1687853542173.png" alt="gabriel_vasseur_0-1687853542173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;TEMP GABS test css&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="table1"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;condition match="'job.resultCount' != 0"&amp;gt;
              &amp;lt;set token="table1TableHeightCSS"&amp;gt;&amp;lt;/set&amp;gt;
              &amp;lt;set token="table1TableAlertCSS"&amp;gt;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
              &amp;lt;set token="table1TableHeightCSS"&amp;gt;height: 50px !important;&amp;lt;/set&amp;gt;
              &amp;lt;set token="table1TableAlertCSS"&amp;gt;position:relative; top: -130px !important;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/done&amp;gt;
          &amp;lt;query&amp;gt;| stats count
| where count&amp;amp;gt;0&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| stats count
&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row depends="$never_set$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #table1 .splunk-table{
            $table1TableHeightCSS$
          }
          #table1 .alert-info{
            $table1TableAlertCSS$
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;          
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**UPDATE2** If I go in and out of the edit source mode, it starts to work:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gabriel_vasseur_1-1687853656534.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26027iF137BFB22594B345/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gabriel_vasseur_1-1687853656534.png" alt="gabriel_vasseur_1-1687853656534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But if I just reload the dashboard from scratch it doesn't.&lt;BR /&gt;&lt;BR /&gt;I've cleared all my browser's data (cookies, cache, etc) and restarted my browser (edge v&lt;SPAN&gt;ersion 114.0.1823.51) and can confirm the same behaviour.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 08:22:01 GMT</pubDate>
    <dc:creator>gabriel_vasseur</dc:creator>
    <dc:date>2023-06-27T08:22:01Z</dc:date>
    <item>
      <title>How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648202#M53035</link>
      <description>&lt;P&gt;The solution in&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/How-do-you-make-a-table-that-reduces-in-height-when-your/m-p/648184#M224298" target="_blank" rel="noopener"&gt;Solved: Re: How do you make a table that reduces in height... - Splunk Community&lt;/A&gt;&amp;nbsp;does not work anymore, at least not for&amp;nbsp;&lt;SPAN&gt;Splunk Cloud version 9.0.2303.201.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hopefully it's just a simple tweak that's needed?&lt;BR /&gt;&lt;BR /&gt;**UPDATE** I'm adding a screenshot and the code that I use that used to work:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gabriel_vasseur_0-1687853542173.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26026i2D4BB226CBF7E889/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gabriel_vasseur_0-1687853542173.png" alt="gabriel_vasseur_0-1687853542173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;TEMP GABS test css&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="table1"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;condition match="'job.resultCount' != 0"&amp;gt;
              &amp;lt;set token="table1TableHeightCSS"&amp;gt;&amp;lt;/set&amp;gt;
              &amp;lt;set token="table1TableAlertCSS"&amp;gt;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
              &amp;lt;set token="table1TableHeightCSS"&amp;gt;height: 50px !important;&amp;lt;/set&amp;gt;
              &amp;lt;set token="table1TableAlertCSS"&amp;gt;position:relative; top: -130px !important;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/done&amp;gt;
          &amp;lt;query&amp;gt;| stats count
| where count&amp;amp;gt;0&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| stats count
&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row depends="$never_set$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #table1 .splunk-table{
            $table1TableHeightCSS$
          }
          #table1 .alert-info{
            $table1TableAlertCSS$
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;          
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**UPDATE2** If I go in and out of the edit source mode, it starts to work:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gabriel_vasseur_1-1687853656534.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26027iF137BFB22594B345/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gabriel_vasseur_1-1687853656534.png" alt="gabriel_vasseur_1-1687853656534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But if I just reload the dashboard from scratch it doesn't.&lt;BR /&gt;&lt;BR /&gt;I've cleared all my browser's data (cookies, cache, etc) and restarted my browser (edge v&lt;SPAN&gt;ersion 114.0.1823.51) and can confirm the same behaviour.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 08:22:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648202#M53035</guid>
      <dc:creator>gabriel_vasseur</dc:creator>
      <dc:date>2023-06-27T08:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648234#M53039</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/159855"&gt;@gabriel_vasseur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;technically it should work. Can you please share your sample XML code if possible?&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 16:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648234#M53039</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-06-26T16:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648332#M53051</link>
      <description>&lt;P&gt;Thanks for having as look. I thought this was going to be much more straightforward... I've now updated the original post with a lot more information. Hopefully that'll help?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 08:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648332#M53051</guid>
      <dc:creator>gabriel_vasseur</dc:creator>
      <dc:date>2023-06-27T08:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648336#M53052</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/159855"&gt;@gabriel_vasseur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you check with another browser like Chrome, Safari, or Firefox, ??&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 09:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648336#M53052</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-06-27T09:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648339#M53054</link>
      <description>&lt;P&gt;It needs to work with Edge.&lt;BR /&gt;&lt;BR /&gt;I did check with Opera and got the exact same behaviour: doesn't work on first load, but if I go to "edit source" and back it starts working, but then doesn't work again if I reload the page.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 09:23:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648339#M53054</guid>
      <dc:creator>gabriel_vasseur</dc:creator>
      <dc:date>2023-06-27T09:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648354#M53058</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/159855"&gt;@gabriel_vasseur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how much time it's taking for a search?&lt;/P&gt;&lt;P&gt;And&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meanwhile an you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;TEMP GABS test css&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="table1"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;progress&amp;gt;
            &amp;lt;set token="table1TableHeightCSS"&amp;gt;height: 50px !important;&amp;lt;/set&amp;gt;
            &amp;lt;set token="table1TableAlertCSS"&amp;gt;position:relative; top: -130px !important;&amp;lt;/set&amp;gt;
          &amp;lt;/progress&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;condition match="'job.resultCount' != 0"&amp;gt;
              &amp;lt;set token="table1TableHeightCSS"&amp;gt;&amp;lt;/set&amp;gt;
              &amp;lt;set token="table1TableAlertCSS"&amp;gt;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
              &amp;lt;set token="table1TableHeightCSS"&amp;gt;height: 50px !important;&amp;lt;/set&amp;gt;
              &amp;lt;set token="table1TableAlertCSS"&amp;gt;position:relative; top: -130px !important;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/done&amp;gt;
          &amp;lt;query&amp;gt;| stats count
| where count&amp;amp;gt;0&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| stats count&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row depends="$never_set$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #table1 .splunk-table{
            $table1TableHeightCSS$
          }
          #table1 .alert-info{
            $table1TableAlertCSS$
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;          
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just use your original search.&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 11:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648354#M53058</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-06-27T11:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648357#M53060</link>
      <description>&lt;P&gt;I don't understand your question about timing. The solution should not depend on the time it takes to run the search. It shouldn't depend on the search either.&lt;/P&gt;&lt;P&gt;It doesn't work with "| stats count |&amp;nbsp;where count&amp;gt;0" which is about the simplest search I can think of that produces no results. It takes no time at all, just however long it take to load the dashboard. A few seconds the first time, a fraction of a second when refreshing the page. Either way the CSS just doesn't work.&lt;/P&gt;&lt;P&gt;I tried your suggestion but it yields the exact same behaviour.&lt;/P&gt;&lt;P&gt;Have you got access to a&amp;nbsp;&lt;SPAN&gt;Splunk Cloud instance of the same version (9.0.2303.201)? If yes, can you reproduce the issue?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 12:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648357#M53060</guid>
      <dc:creator>gabriel_vasseur</dc:creator>
      <dc:date>2023-06-27T12:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648459#M53084</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/159855"&gt;@gabriel_vasseur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have requested a free Splunk Cloud&amp;nbsp; Instance for the same. So waiting for it.&amp;nbsp; Please check you messages for further communication.&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 05:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/648459#M53084</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-06-28T05:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/657065#M54128</link>
      <description>&lt;P&gt;I had the same issue after a recent Splunk upgrade, the token height was working then it suddenly didn't. I found that it no longer liked the default condition being blank:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;set token="table1TableHeightCSS"&amp;gt;&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;set token="table1TableAlertCSS"&amp;gt;&amp;lt;/set&amp;gt;&lt;BR /&gt;&lt;BR /&gt;so i set default to '1' and it worked for me:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;set token="table1TableHeightCSS"&amp;gt;1&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;set token="table1TableAlertCSS"&amp;gt;1&amp;lt;/set&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 14:08:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/657065#M54128</guid>
      <dc:creator>Paul_Dixon</dc:creator>
      <dc:date>2023-09-08T14:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/657214#M54140</link>
      <description>&lt;P&gt;With high expectations I tried it and sadly it didn't work for me. However, building on your idea that it didn't like the CSS to be initially empty I eventually found the following solution:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="light"&amp;gt;
  &amp;lt;label&amp;gt;GABS Test css&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="doneID"&amp;gt;
        &amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
              &amp;lt;set token="doneTableHeightCSS"&amp;gt;height: 50px !important;&amp;lt;/set&amp;gt;
              &amp;lt;set token="doneTableAlertCSS"&amp;gt;position:relative; top: -130px !important;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition&amp;gt;
              &amp;lt;set token="doneTableHeightCSS"&amp;gt;&amp;lt;/set&amp;gt;
              &amp;lt;set token="doneTableAlertCSS"&amp;gt;&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/done&amp;gt;
          &amp;lt;query&amp;gt;
| stats count
| search count=5
&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;@d&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;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row depends="$never_set$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #doneID .splunk-table {
            1;
            $doneTableHeightCSS$
          }
          #doneID .alert-info{
            1;
            $doneTableAlertCSS$
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More than happy to give you the credit for it. If you re-submit it I'll accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 14:44:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/657214#M54140</guid>
      <dc:creator>gabriel_vasseur</dc:creator>
      <dc:date>2023-09-11T14:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a Simple XML table height when no results is found?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/657216#M54141</link>
      <description>&lt;P&gt;Glad you found a solution that works! its very temperamental it seems, but a really useful piece of code to save masses of whitespace when no results&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 14:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-a-Simple-XML-table-height-when-no-results-is-found/m-p/657216#M54141</guid>
      <dc:creator>Paul_Dixon</dc:creator>
      <dc:date>2023-09-11T14:56:24Z</dc:date>
    </item>
  </channel>
</rss>

