<?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 to hide panels, based on other panel's result? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448264#M29450</link>
    <description>&lt;P&gt;Refer this solution &lt;A href="https://answers.splunk.com/answers/592973/remove-all-from-multiselect-input-in-dashboard.html"&gt;https://answers.splunk.com/answers/592973/remove-all-from-multiselect-input-in-dashboard.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2019 09:36:34 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2019-03-21T09:36:34Z</dc:date>
    <item>
      <title>How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448250#M29436</link>
      <description>&lt;P&gt;I have three panels in my dashboard.&lt;BR /&gt;&lt;CODE&gt;Panel1 &amp;amp; Panel2&lt;/CODE&gt; —&amp;gt; have some query and fetch me some result. &lt;BR /&gt;&lt;CODE&gt;Panel3&lt;/CODE&gt; —&amp;gt; just have custom text which displays whenever the Panel1 &amp;amp; Panel2 do not have any results.&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Requirements:&lt;/CODE&gt;&lt;BR /&gt;1. Hide &lt;CODE&gt;Panel1 &amp;amp; Panel2&lt;/CODE&gt; when job result is 0. Show the &lt;CODE&gt;Panel 3&lt;/CODE&gt;&lt;BR /&gt;2. Hide &lt;CODE&gt;Panel 3&lt;/CODE&gt; when job result is !=0. Show the &lt;CODE&gt;Panel &amp;amp; Panel2&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;I have used the below code to hide the Panel1 &amp;amp; Panel2 when there are no results&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;progress&amp;gt;
            &amp;lt;condition match="$job.resultCount$ == 0"&amp;gt;
              &amp;lt;unset token="hide_panel2"&amp;gt;&amp;lt;/unset&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition&amp;gt;
              &amp;lt;set token="hide_panel2"&amp;gt;true&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/progress&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There is no issue with this. Its working fine.&lt;/P&gt;
&lt;P&gt;But my Panel3 has to be hidden whenever the Panel1 &amp;amp; Panel2 are visible. As like above code, I have tried the similar set of code to hide Panel3 based on Panel1 &amp;amp; Panel2 values&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;progress&amp;gt;
            &amp;lt;condition match="$result.Usage_Count$ != 0"&amp;gt;
              &amp;lt;unset token="hide_panel3"&amp;gt;&amp;lt;/unset&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition&amp;gt;
              &amp;lt;set token="hide_panel3"&amp;gt;true&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/progress&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But still the panel3 is visible in all kind of conditions. I am not knowing where I am making the mistake. Could anyone please help me.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 00:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448250#M29436</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2020-06-08T00:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448251#M29437</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;panel&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;

    &amp;lt;panel rejects="$hide_panel$"&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Panel1&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count by host &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;progress&amp;gt;
            &amp;lt;condition match="$job.resultCount$ == 0"&amp;gt;
              &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition&amp;gt;
               &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;

            &amp;lt;/condition&amp;gt;
          &amp;lt;/progress&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;panel rejects="$hide_panel$"&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Panel2&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count by host  |stats count by host &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;progress&amp;gt;
             &amp;lt;condition match="$job.resultCount$ == 0"&amp;gt;
              &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition&amp;gt;
               &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;

            &amp;lt;/condition&amp;gt;
          &amp;lt;/progress&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 depends="$hide_panel$"&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Panel3&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count by host&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;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Mar 2019 09:41:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448251#M29437</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-18T09:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448252#M29438</link>
      <description>&lt;P&gt;@vnravikumar  Wow!! Its working...!! Thankyou for the quick response &lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 09:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448252#M29438</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-18T09:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448253#M29439</link>
      <description>&lt;P&gt;Hi @vnravikumar,&lt;/P&gt;

&lt;P&gt;I am facing one more problem with the above code. If I provide the shorter time duration like 15 minutes, 1 hour, 4 hours, my query is running faster, fetching the results and showing Panel1 &amp;amp; Panel2 . If there are no results, it is giving me the Panel3.&lt;/P&gt;

&lt;P&gt;But, whenever we give larger time duration (which fetches more logs/events) like 24 hours, 3 days, 1 week, etc., my query is taking sometime to execute and show the results. In between this query search/execute time, my panel3 is getting displayed. Once the query execution is over and it gives me result, my panel3 disappears and panel1 &amp;amp; panel2 is getting displayed.&lt;/P&gt;

&lt;P&gt;That should not happen. Basically my panel1 &amp;amp; panel2 is executing its query, nothing should be displayed on the dashboard. Once the query completes its execution it should display either case1 or case2.&lt;/P&gt;

&lt;P&gt;Could you please help me on this?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 08:31:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448253#M29439</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-19T08:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448254#M29440</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Change &lt;CODE&gt;&amp;lt;progress&amp;gt;&lt;/CODE&gt; to &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; and try&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 08:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448254#M29440</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-19T08:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448255#M29441</link>
      <description>&lt;P&gt;Thankyou.. its working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 09:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448255#M29441</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-19T09:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448256#M29442</link>
      <description>&lt;P&gt;@vnravikumar  I have one more problem. &lt;BR /&gt;
I have a multiselect input (token is App_Value). So whenever I click all option (all=*), only then my panel1 should display. For any other inputs, my panel1 should be hidden. &lt;BR /&gt;
Currently I am trying like this but not working&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;done&amp;gt;
&amp;lt;condition $App_Value$="*"&amp;gt;
&amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition&amp;gt;
&amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;/done&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you please help me&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 06:24:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448256#M29442</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-21T06:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448257#M29443</link>
      <description>&lt;P&gt;HI, this is for the different requirement or for the same one.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 07:02:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448257#M29443</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-21T07:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448258#M29444</link>
      <description>&lt;P&gt;can you please reiterate the requirement once.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 07:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448258#M29444</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-21T07:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448259#M29445</link>
      <description>&lt;P&gt;This is for the same dashboard. Earlier I had three panels, now I have added two more.&lt;BR /&gt;
&lt;CODE&gt;Panel1 &amp;amp; Panel2&lt;/CODE&gt;—&amp;gt; Shows overall results only when the input selected as &lt;CODE&gt;All&lt;/CODE&gt;. Which is token &lt;CODE&gt;App_Value =*&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;Panel3 &amp;amp; Panel4&lt;/CODE&gt; -&amp;gt; have some query and fetch me some result. &lt;BR /&gt;
&lt;CODE&gt;Panel5&lt;/CODE&gt; —&amp;gt; just have custom text which displays whenever the Panel1, Panel2, Panel3 &amp;amp; Panel4 do not have any results.&lt;/P&gt;

&lt;P&gt;I have tried the below conditions to hide the panels accordingly&lt;BR /&gt;
&lt;CODE&gt;&amp;lt;condition match="$App_Value$ == *"&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;&amp;lt;condition $App_Value$="*"&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But both of these are not working. Panel 1 &amp;amp; Panel 2 are displaying whenever Panel 3 &amp;amp; Panel4 also are displaying. &lt;BR /&gt;
Could you please help me.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 07:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448259#M29445</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-21T07:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448260#M29446</link>
      <description>&lt;P&gt;Hi, check this sample&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;panelsample&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="multiselect" token="field1" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="one"&amp;gt;One&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition match="field1 == &amp;amp;quot;*&amp;amp;quot;"&amp;gt;
          &amp;lt;set token="showPanel"&amp;gt;true&amp;lt;/set&amp;gt;
        &amp;lt;/condition&amp;gt;
         &amp;lt;condition&amp;gt;
          &amp;lt;unset token="showPanel"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row depends="$showPanel$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count by host&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="$showPanel$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count by host&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;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Mar 2019 07:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448260#M29446</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-21T07:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448261#M29447</link>
      <description>&lt;P&gt;@vnravikumar , I have tried your above sample code with two situations. &lt;/P&gt;

&lt;P&gt;Situation 1 -&amp;gt; This is working fine only when I have two values in my input (as you mentioned &lt;CODE&gt;All &amp;amp; one&lt;/CODE&gt;). &lt;BR /&gt;
Situation 2 -&amp;gt; When I have multiple values in my input, delimiter comes into picture as this is a multi select input. So during that time, my Panel1 and Panel2 are not at all displaying for any kind of values I select. Though I am selecting &lt;CODE&gt;All values&lt;/CODE&gt; option, these panels are still hidden&lt;/P&gt;

&lt;P&gt;I tried using the &lt;CODE&gt;rejects&lt;/CODE&gt; command in other dashboards also. But this does not work&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:03:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448261#M29447</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-21T09:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448262#M29448</link>
      <description>&lt;P&gt;in your multiselect if you choose all whether other items are getting removed. similarly if you choose one item whether all gets removed?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:11:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448262#M29448</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-21T09:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448263#M29449</link>
      <description>&lt;P&gt;No. If I choose All, still other input values are showing for selection. Similarly if I choose any other items also, the other item values are showing.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448263#M29449</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-21T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448264#M29450</link>
      <description>&lt;P&gt;Refer this solution &lt;A href="https://answers.splunk.com/answers/592973/remove-all-from-multiselect-input-in-dashboard.html"&gt;https://answers.splunk.com/answers/592973/remove-all-from-multiselect-input-in-dashboard.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448264#M29450</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-21T09:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448265#M29451</link>
      <description>&lt;P&gt;once you implement I guess your problem will get resolve&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:37:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448265#M29451</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-21T09:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448266#M29452</link>
      <description>&lt;P&gt;@vnravikumar I referred the link which you shared. People have suggested both Java script and xml code also. But our requirement does not match with this, as they are suggesting to disappear other items when one item selected.&lt;BR /&gt;
If that is the case, we no need to prefer multiselect, just we can go with drop down list.&lt;BR /&gt;
I have checked the splunk docs and got the answer.&lt;BR /&gt;
There is a little change in the code which you suggested me.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;change&amp;gt;
        &amp;lt;condition label="All Apps"&amp;gt;
          &amp;lt;set token="showPanel"&amp;gt;true&amp;lt;/set&amp;gt;
        &amp;lt;/condition&amp;gt;
        &amp;lt;condition&amp;gt;
          &amp;lt;unset token="showPanel"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This I added in my multiselect input code block. Then it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 14:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448266#M29452</guid>
      <dc:creator>akarivaratharaj</dc:creator>
      <dc:date>2019-03-21T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448267#M29453</link>
      <description>&lt;P&gt;HI @vnravikumar how i can hide the panel if it is showing &lt;STRONG&gt;Search is waiting for input...&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;i am using this condition&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;set token="display_count"&amp;gt;true&amp;lt;/set&amp;gt;
  &amp;lt;/condition&amp;gt;
  &amp;lt;condition&amp;gt;
    &amp;lt;unset token="display_count"&amp;gt;&amp;lt;/unset&amp;gt;
  &amp;lt;/condition&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 May 2020 01:20:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448267#M29453</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2020-05-14T01:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448268#M29454</link>
      <description>&lt;P&gt;@hrs2019 In the example in the answer above depends has been added to the row. &lt;CODE&gt;depends&lt;/CODE&gt; can be added to &lt;CODE&gt;&amp;lt;row&amp;gt;&lt;/CODE&gt;, &lt;CODE&gt;&amp;lt;panel&amp;gt;&lt;/CODE&gt;, &lt;CODE&gt;&amp;lt;viz&amp;gt;&lt;/CODE&gt; and even &lt;CODE&gt;&amp;lt;search&amp;gt;&lt;/CODE&gt; to control the behavior depending on whether the token is set or not. Just add &lt;CODE&gt;depends&lt;/CODE&gt; with the token which is needs to be set for the search to run.&lt;/P&gt;

&lt;P&gt;For examples:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel depends="$mytoken$"&amp;gt;
    &amp;lt;table&amp;gt;
         &amp;lt;search&amp;gt;
              &amp;lt;query&amp;gt;| makeresults
             | fields - _time
             | eval temp="$mytoken$"
              &amp;lt;/query&amp;gt;
         &amp;lt;/search&amp;gt;
    &amp;lt;table&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 May 2020 03:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448268#M29454</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-05-14T03:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide panels, based on other panel's result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448269#M29455</link>
      <description>&lt;P&gt;@niketnilay Yaah got it thanks again, &lt;BR /&gt;
just one more help  i need if we have 0 out put for any panel in given time i just want to use a message like "data is not available"&lt;BR /&gt;
panel 1                     panle 2                   panel 3&lt;BR /&gt;
0                                     0                             0&lt;BR /&gt;
my requirement &lt;BR /&gt;
panel 1                              panle 2                            panel 3&lt;BR /&gt;
data is not available"     data is not available"       data is not available"&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 06:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-panels-based-on-other-panel-s-result/m-p/448269#M29455</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2020-05-14T06:11:16Z</dc:date>
    </item>
  </channel>
</rss>

