<?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: Splunk Dashboard studio - hide and show table based on Drop down value in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-studio-hide-and-show-table-based-on-Drop-down/m-p/749198#M58938</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/311404"&gt;@Pranita_P&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each table click on the Visualisation dropdown on the right and select the "When data is unavailable, hide element" checkbox. This means that the table will not show when there are no results.&lt;/P&gt;&lt;P&gt;Now you need to make it return no results when value5 is/isnt selected depending on your dropdown. You can do this with a where statement on each table (it might not be the most efficient to use a where statement here but not sure how else you could achieve it).&lt;/P&gt;&lt;P&gt;You would add something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where "$yourDropdownToken$"="value 5"&lt;/LI-CODE&gt;&lt;P&gt;Obviously you can change = to != as required.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2025 14:56:55 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-07-03T14:56:55Z</dc:date>
    <item>
      <title>Splunk Dashboard studio - hide and show table based on Drop down value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-studio-hide-and-show-table-based-on-Drop-down/m-p/749197#M58937</link>
      <description>&lt;P&gt;I have 1 drop down having 5 values(&lt;STRONG&gt;value 1 ,value 2,value 3,value 4,value 5&lt;/STRONG&gt;) in it.&lt;BR /&gt;i have assigned a token to this drop down&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For (&lt;STRONG&gt;value 1 ,value 2,value 3,value 4)&lt;/STRONG&gt;&lt;BR /&gt;i have a table(&lt;STRONG&gt;table 1&lt;/STRONG&gt;) below drop down&amp;nbsp; where the results change as per values of the drop down selected.&lt;BR /&gt;It uses 1 query underneath to get details&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what i want is to have another another table(&lt;STRONG&gt;table 2&lt;/STRONG&gt;) which should display in place of table 1 [hide table 1 and display 2 instead ] when&lt;STRONG&gt; value 5&lt;/STRONG&gt; is selected from drop down.&amp;nbsp; This needs to use different query&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How to achieve this ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 14:51:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-studio-hide-and-show-table-based-on-Drop-down/m-p/749197#M58937</guid>
      <dc:creator>Pranita_P</dc:creator>
      <dc:date>2025-07-03T14:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard studio - hide and show table based on Drop down value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-studio-hide-and-show-table-based-on-Drop-down/m-p/749198#M58938</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/311404"&gt;@Pranita_P&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each table click on the Visualisation dropdown on the right and select the "When data is unavailable, hide element" checkbox. This means that the table will not show when there are no results.&lt;/P&gt;&lt;P&gt;Now you need to make it return no results when value5 is/isnt selected depending on your dropdown. You can do this with a where statement on each table (it might not be the most efficient to use a where statement here but not sure how else you could achieve it).&lt;/P&gt;&lt;P&gt;You would add something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where "$yourDropdownToken$"="value 5"&lt;/LI-CODE&gt;&lt;P&gt;Obviously you can change = to != as required.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 14:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Dashboard-studio-hide-and-show-table-based-on-Drop-down/m-p/749198#M58938</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-03T14:56:55Z</dc:date>
    </item>
  </channel>
</rss>

