<?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: Not able to display the panel as per the Drop-down input option in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424166#M27925</link>
    <description>&lt;P&gt;two changes requried in your xml, &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;2  &lt;CODE&gt;&amp;lt;change&amp;gt;&lt;/CODE&gt; tag not required. use one and add the condition inside   &lt;CODE&gt;&amp;lt;change&amp;gt;&amp;lt;condition&amp;gt;..&amp;lt;/condition&amp;gt; &amp;lt;condition&amp;gt; &amp;lt;/condition&amp;gt;&amp;lt;/change&amp;gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;lowest&lt;/CODE&gt; use lower case in the depends&lt;/P&gt;

&lt;P&gt;&lt;LABEL&gt;Select the options to get more details&lt;/LABEL&gt;&lt;BR /&gt;
   &lt;CHOICE value="Top5"&gt;Top5&lt;/CHOICE&gt;&lt;BR /&gt;
   &lt;CHOICE value="lowest"&gt;lowest&lt;/CHOICE&gt;&lt;BR /&gt;
   &lt;FIELDFORLABEL&gt;Showpanel&lt;/FIELDFORLABEL&gt;&lt;BR /&gt;
   &lt;FIELDFORVALUE&gt;Showpanel&lt;/FIELDFORVALUE&gt;&lt;BR /&gt;
   &lt;DEFAULT&gt;&lt;/DEFAULT&gt;&lt;BR /&gt;
   &lt;CHANGE&gt;&lt;BR /&gt;
     &lt;CONDITION value="Top5"&gt;&lt;BR /&gt;
       &lt;SET token="Top5"&gt;true&lt;/SET&gt;&lt;BR /&gt;
       &lt;UNSET token="lowest"&gt;&lt;/UNSET&gt;&lt;BR /&gt;
     &lt;/CONDITION&gt;&lt;BR /&gt;
       &lt;CONDITION value="lowest"&gt;&lt;BR /&gt;
       &lt;UNSET token="Top5"&gt;&lt;/UNSET&gt;&lt;BR /&gt;
       &lt;SET token="lowest"&gt;true&lt;/SET&gt;&lt;BR /&gt;
     &lt;/CONDITION&gt;&lt;BR /&gt;
   &lt;/CHANGE&gt;&lt;BR /&gt;
   &lt;INITIALVALUE&gt;&lt;/INITIALVALUE&gt;&lt;BR /&gt;
 &lt;/P&gt;

&lt;P&gt;&lt;PANEL depends="$Top5$"&gt;&lt;BR /&gt;
   &lt;TITLE&gt;Top 5 Indexes&lt;/TITLE&gt;&lt;BR /&gt;
   &lt;TABLE&gt;&lt;BR /&gt;
     &lt;SEARCH&gt;&lt;BR /&gt;
       &lt;QUERY&gt;$query$ &lt;/QUERY&gt;&lt;BR /&gt;
       &lt;EARLIEST&gt;$myTimePickerToken.earliest$&lt;/EARLIEST&gt;&lt;BR /&gt;
       &lt;LATEST&gt;$myTimePickerToken.latest$&lt;/LATEST&gt;&lt;BR /&gt;
     &lt;/SEARCH&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/TABLE&gt;&lt;BR /&gt;
 &lt;/PANEL&gt;&lt;/P&gt;

&lt;P&gt;&lt;PANEL depends="$lowest$"&gt;&lt;BR /&gt;
   &lt;TITLE&gt;Index with least License usage&lt;/TITLE&gt;&lt;BR /&gt;
   &lt;TABLE&gt;&lt;BR /&gt;
     &lt;SEARCH&gt;&lt;BR /&gt;
       &lt;QUERY&gt;$query2$&lt;/QUERY&gt;&lt;BR /&gt;
       &lt;EARLIEST&gt;$myTimePickerToken.earliest$&lt;/EARLIEST&gt;&lt;BR /&gt;
       &lt;LATEST&gt;$myTimePickerToken.latest$&lt;/LATEST&gt;&lt;BR /&gt;
     &lt;/SEARCH&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/TABLE&gt;&lt;BR /&gt;
 &lt;/PANEL&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 06 Mar 2019 21:46:44 GMT</pubDate>
    <dc:creator>vasanthmss</dc:creator>
    <dc:date>2019-03-06T21:46:44Z</dc:date>
    <item>
      <title>Not able to display the panel as per the Drop-down input option</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424164#M27923</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to build a Dashboard where as per the input of drop-down I have to change my panels, but not able to get that with the below code.&lt;BR /&gt;
can someone please correct the below code so that my options get triggered and switches the panels as per the selected choices.&lt;/P&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="dropdown" token="showpanel" searchWhenChanged="false"&amp;gt;
  &amp;lt;label&amp;gt;Select the options to get more details&amp;lt;/label&amp;gt;
  &amp;lt;choice value="Top5"&amp;gt;Top5&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="lowest"&amp;gt;lowest&amp;lt;/choice&amp;gt;
  &amp;lt;fieldForLabel&amp;gt;Showpanel&amp;lt;/fieldForLabel&amp;gt;
  &amp;lt;fieldForValue&amp;gt;Showpanel&amp;lt;/fieldForValue&amp;gt;
  &amp;lt;default&amp;gt;&amp;lt;/default&amp;gt;
  &amp;lt;change&amp;gt;
    &amp;lt;condition value="Top5"&amp;gt;
      &amp;lt;set token="Top5"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;unset token="lowest"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/change&amp;gt;
  &amp;lt;change&amp;gt;
    &amp;lt;condition value="lowest"&amp;gt;
      &amp;lt;unset token="Top5"&amp;gt;&amp;lt;/unset&amp;gt;
      &amp;lt;set token="lowest"&amp;gt;true&amp;lt;/set&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/change&amp;gt;
  &amp;lt;initialValue&amp;gt;&amp;lt;/initialValue&amp;gt;
&amp;lt;/input&amp;gt;

&amp;lt;panel depends="$Top5$"&amp;gt;
  &amp;lt;title&amp;gt;Top 5 Indexes&amp;lt;/title&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;$query$ &amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$myTimePickerToken.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$myTimePickerToken.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;

  &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;


&amp;lt;panel depends="$Lowest$"&amp;gt;
  &amp;lt;title&amp;gt;Index with least License usage&amp;lt;/title&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;$query2$&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$myTimePickerToken.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$myTimePickerToken.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;

  &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Bhaskara.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 20:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424164#M27923</guid>
      <dc:creator>bhaskarasplunk</dc:creator>
      <dc:date>2019-03-06T20:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to display the panel as per the Drop-down input option</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424165#M27924</link>
      <description>&lt;P&gt;Hi @bhaskarasplunk&lt;/P&gt;

&lt;P&gt;Try this and let me know&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;fieldset submitButton="false" autoRun="false"&amp;gt;
    &amp;lt;input type="dropdown" token="field1"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="top"&amp;gt;Top5&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="lowest"&amp;gt;Lowest&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition value="top"&amp;gt;
          &amp;lt;set token="showTop5"&amp;gt;true&amp;lt;/set&amp;gt;
          &amp;lt;unset token="showLowest"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;
        &amp;lt;condition value="lowest"&amp;gt;
          &amp;lt;set token="showLowest"&amp;gt;true&amp;lt;/set&amp;gt;
          &amp;lt;unset token="showTop5"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;
        &amp;lt;condition&amp;gt;
          &amp;lt;unset token="showLowest"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;unset token="showTop5"&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&amp;gt;
    &amp;lt;panel depends="$showTop5$" rejects="$showLowest$"&amp;gt;
      &amp;lt;title&amp;gt;Top 5 Indexes&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;$query$ &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$myTimePickerToken.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$myTimePickerToken.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$showLowest$" rejects="$showTop5$"&amp;gt;
      &amp;lt;title&amp;gt;Index with least License usage&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;$query2$&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$myTimePickerToken.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$myTimePickerToken.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&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>Wed, 06 Mar 2019 21:37:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424165#M27924</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-06T21:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to display the panel as per the Drop-down input option</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424166#M27925</link>
      <description>&lt;P&gt;two changes requried in your xml, &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;2  &lt;CODE&gt;&amp;lt;change&amp;gt;&lt;/CODE&gt; tag not required. use one and add the condition inside   &lt;CODE&gt;&amp;lt;change&amp;gt;&amp;lt;condition&amp;gt;..&amp;lt;/condition&amp;gt; &amp;lt;condition&amp;gt; &amp;lt;/condition&amp;gt;&amp;lt;/change&amp;gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;lowest&lt;/CODE&gt; use lower case in the depends&lt;/P&gt;

&lt;P&gt;&lt;LABEL&gt;Select the options to get more details&lt;/LABEL&gt;&lt;BR /&gt;
   &lt;CHOICE value="Top5"&gt;Top5&lt;/CHOICE&gt;&lt;BR /&gt;
   &lt;CHOICE value="lowest"&gt;lowest&lt;/CHOICE&gt;&lt;BR /&gt;
   &lt;FIELDFORLABEL&gt;Showpanel&lt;/FIELDFORLABEL&gt;&lt;BR /&gt;
   &lt;FIELDFORVALUE&gt;Showpanel&lt;/FIELDFORVALUE&gt;&lt;BR /&gt;
   &lt;DEFAULT&gt;&lt;/DEFAULT&gt;&lt;BR /&gt;
   &lt;CHANGE&gt;&lt;BR /&gt;
     &lt;CONDITION value="Top5"&gt;&lt;BR /&gt;
       &lt;SET token="Top5"&gt;true&lt;/SET&gt;&lt;BR /&gt;
       &lt;UNSET token="lowest"&gt;&lt;/UNSET&gt;&lt;BR /&gt;
     &lt;/CONDITION&gt;&lt;BR /&gt;
       &lt;CONDITION value="lowest"&gt;&lt;BR /&gt;
       &lt;UNSET token="Top5"&gt;&lt;/UNSET&gt;&lt;BR /&gt;
       &lt;SET token="lowest"&gt;true&lt;/SET&gt;&lt;BR /&gt;
     &lt;/CONDITION&gt;&lt;BR /&gt;
   &lt;/CHANGE&gt;&lt;BR /&gt;
   &lt;INITIALVALUE&gt;&lt;/INITIALVALUE&gt;&lt;BR /&gt;
 &lt;/P&gt;

&lt;P&gt;&lt;PANEL depends="$Top5$"&gt;&lt;BR /&gt;
   &lt;TITLE&gt;Top 5 Indexes&lt;/TITLE&gt;&lt;BR /&gt;
   &lt;TABLE&gt;&lt;BR /&gt;
     &lt;SEARCH&gt;&lt;BR /&gt;
       &lt;QUERY&gt;$query$ &lt;/QUERY&gt;&lt;BR /&gt;
       &lt;EARLIEST&gt;$myTimePickerToken.earliest$&lt;/EARLIEST&gt;&lt;BR /&gt;
       &lt;LATEST&gt;$myTimePickerToken.latest$&lt;/LATEST&gt;&lt;BR /&gt;
     &lt;/SEARCH&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/TABLE&gt;&lt;BR /&gt;
 &lt;/PANEL&gt;&lt;/P&gt;

&lt;P&gt;&lt;PANEL depends="$lowest$"&gt;&lt;BR /&gt;
   &lt;TITLE&gt;Index with least License usage&lt;/TITLE&gt;&lt;BR /&gt;
   &lt;TABLE&gt;&lt;BR /&gt;
     &lt;SEARCH&gt;&lt;BR /&gt;
       &lt;QUERY&gt;$query2$&lt;/QUERY&gt;&lt;BR /&gt;
       &lt;EARLIEST&gt;$myTimePickerToken.earliest$&lt;/EARLIEST&gt;&lt;BR /&gt;
       &lt;LATEST&gt;$myTimePickerToken.latest$&lt;/LATEST&gt;&lt;BR /&gt;
     &lt;/SEARCH&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/TABLE&gt;&lt;BR /&gt;
 &lt;/PANEL&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 06 Mar 2019 21:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424166#M27925</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2019-03-06T21:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to display the panel as per the Drop-down input option</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424167#M27926</link>
      <description>&lt;P&gt;Hi Kumar,&lt;/P&gt;

&lt;P&gt;Thank you so much!&lt;/P&gt;

&lt;P&gt;It worked for me.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 21:51:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Not-able-to-display-the-panel-as-per-the-Drop-down-input-option/m-p/424167#M27926</guid>
      <dc:creator>bhaskarasplunk</dc:creator>
      <dc:date>2019-03-06T21:51:14Z</dc:date>
    </item>
  </channel>
</rss>

