<?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: How do you hide panels which do not have values? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422238#M27844</link>
    <description>&lt;P&gt;Hello Friend,&lt;/P&gt;

&lt;P&gt;I have seen one problem here. There are 3 panels in one row, If data is not available in 2nd and 3rd panel then it hide both the panels.&lt;BR /&gt;
But when data not available in all the 3 panels then again message is showing as "No results founds" for each 3 panels.&lt;BR /&gt;
I have given 3 different token names in panel tags like depends="$panel_show1$",depends="$panel_show2$", depends="$panel_show3$" and made other required changes.&lt;/P&gt;

&lt;P&gt;Hope you understand my point. I will be needed your help to resolve this&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:17:12 GMT</pubDate>
    <dc:creator>vikas_baranwal</dc:creator>
    <dc:date>2020-09-29T22:17:12Z</dc:date>
    <item>
      <title>How do you hide panels which do not have values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422235#M27841</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;Splunk Version : 6.6.2&lt;/P&gt;

&lt;P&gt;Message showing on specific panel : No results found&lt;/P&gt;

&lt;P&gt;I have a dynamic drop-down and if I select a value that doesn't generate any results for specific panels, I want to hide panels that don't have results.&lt;/P&gt;

&lt;P&gt;I have seen so many answers available on Splunk answers but no one is working for me.&lt;/P&gt;

&lt;P&gt;Thank you so much !&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 07:10:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422235#M27841</guid>
      <dc:creator>vikas_baranwal</dc:creator>
      <dc:date>2018-12-04T07:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do you hide panels which do not have values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422236#M27842</link>
      <description>&lt;P&gt;add depends token to panel and it will get set if result is found and if no result is found then it will hide panel.&lt;BR /&gt;
add  tag in your query like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel depends="$panel_show$"&amp;gt;
       &amp;lt;chart&amp;gt;
         &amp;lt;title&amp;gt;Internal sourcetypes over the last 5 seconds&amp;lt;/title&amp;gt;
         &amp;lt;search id="your_search"&amp;gt;
           &amp;lt;query&amp;gt;YOUR QUERY&amp;lt;/query&amp;gt;
           &amp;lt;earliest&amp;gt;-5s@s&amp;lt;/earliest&amp;gt;
           &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;   
       &amp;lt;progress&amp;gt;
            &amp;lt;condition match="'job.resultCount' &amp;gt; 0"&amp;gt;
                &amp;lt;set token="panel_show"&amp;gt;true&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition&amp;gt;
                &amp;lt;unset token="panel_show"/&amp;gt;
            &amp;lt;/condition&amp;gt;
        &amp;lt;/progress&amp;gt; 
         &amp;lt;/search&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Dec 2018 07:39:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422236#M27842</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-12-04T07:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you hide panels which do not have values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422237#M27843</link>
      <description>&lt;P&gt;Thanks for your help..In Initial level testing, its working fine.  Will let you know if I will be missing anything here.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 10:29:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422237#M27843</guid>
      <dc:creator>vikas_baranwal</dc:creator>
      <dc:date>2018-12-04T10:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do you hide panels which do not have values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422238#M27844</link>
      <description>&lt;P&gt;Hello Friend,&lt;/P&gt;

&lt;P&gt;I have seen one problem here. There are 3 panels in one row, If data is not available in 2nd and 3rd panel then it hide both the panels.&lt;BR /&gt;
But when data not available in all the 3 panels then again message is showing as "No results founds" for each 3 panels.&lt;BR /&gt;
I have given 3 different token names in panel tags like depends="$panel_show1$",depends="$panel_show2$", depends="$panel_show3$" and made other required changes.&lt;/P&gt;

&lt;P&gt;Hope you understand my point. I will be needed your help to resolve this&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:17:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-hide-panels-which-do-not-have-values/m-p/422238#M27844</guid>
      <dc:creator>vikas_baranwal</dc:creator>
      <dc:date>2020-09-29T22:17:12Z</dc:date>
    </item>
  </channel>
</rss>

