<?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 Clear filter in the list of prompt container and all filter option in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Clear-filter-in-the-list-of-prompt-container-and-all-filter/m-p/779264#M15605</link>
    <description>I require clear filter as it appears in drop down in the list of prompt container . How to do that? Is it possible to show all the filters also or any default option.</description>
    <pubDate>Tue, 09 Nov 2021 03:39:32 GMT</pubDate>
    <dc:creator>sas_it</dc:creator>
    <dc:date>2021-11-09T03:39:32Z</dc:date>
    <item>
      <title>Clear filter in the list of prompt container and all filter option</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Clear-filter-in-the-list-of-prompt-container-and-all-filter/m-p/779264#M15605</link>
      <description>I require clear filter as it appears in drop down in the list of prompt container . How to do that? Is it possible to show all the filters also or any default option.</description>
      <pubDate>Tue, 09 Nov 2021 03:39:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Clear-filter-in-the-list-of-prompt-container-and-all-filter/m-p/779264#M15605</guid>
      <dc:creator>sas_it</dc:creator>
      <dc:date>2021-11-09T03:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Clear filter in the list of prompt container and all filter option</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Clear-filter-in-the-list-of-prompt-container-and-all-filter/m-p/779359#M15610</link>
      <description>&lt;P&gt;There are a few ways to achieve this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Viya 2020.1.5 and Newer&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There is an option available allowing you to do this right from the list table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stu_SAS_1-1636468830435.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65518iEA9861D82A954F77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stu_SAS_1-1636468830435.png" alt="Stu_SAS_1-1636468830435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This places a "Select all" link within the list prompt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stu_SAS_3-1636468974833.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65520iEBBF6E0EBE02D4FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stu_SAS_3-1636468974833.png" alt="Stu_SAS_3-1636468974833.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can select everything to do an inverse filter where you want to select everything except for a few items, then clear it when you are done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stu_SAS_2-1636468905952.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65519i014BF05E2418CC69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stu_SAS_2-1636468905952.png" alt="Stu_SAS_2-1636468905952.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Visual Analytics 8.5/7.5&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Right-click the list and select "Clear selection" or "Select all."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stu_SAS_4-1636469344479.png" style="width: 397px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65521i49FF965C010B7A77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stu_SAS_4-1636469344479.png" alt="Stu_SAS_4-1636469344479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to display all the filters by default, the most optimal way is to avoid placing list filters in prompt containers and keeping all default values as clear to the user as possible. Consider the following two design options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Side prompts&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Visual Analytics 7.5/8.5 and newer allow you to place prompts on the side of the page. This is ideal for list controls so that users can always see what is available. Personally, this is my favorite way to display filters since it makes good use of widescreen monitors and prevents graphs from getting squashed or compressed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To add side prompts:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Click the "Page" tab to enable Page options&lt;/LI&gt;
&lt;LI&gt;Go to the Options pane on the right and scroll to "Page controls"&lt;/LI&gt;
&lt;LI&gt;Select the left or right side of the page&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You can now drag and drop lists directly to the prompt area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="side-filters.gif" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65526i0A91806989A7B78F/image-size/large?v=v2&amp;amp;px=999" role="button" title="side-filters.gif" alt="side-filters.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Scrolling Container&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Side prompts have limited space, and you might find your lists getting too compressed to use if you have a lot of them to show. A second option is to drag a scrolling container to the left side of your page. From there, you can add as many controls as you'd like and the container will automatically scroll.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scrolling-container.gif" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65525i025789BDDE384433/image-size/large?v=v2&amp;amp;px=999" role="button" title="scrolling-container.gif" alt="scrolling-container.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you turn on Automatic Actions, all of your filters will apply just like page prompts.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stu_SAS_5-1636470366332.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65522iD845755CDAF07ADC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stu_SAS_5-1636470366332.png" alt="Stu_SAS_5-1636470366332.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want more complex interactions, you'll need to add manual interactions between each object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quick tip: If you need to add a lot of manual interactions from many filters, you can easily do it with the following trick:&lt;/P&gt;
&lt;P&gt;1. Select your&amp;nbsp;&lt;EM&gt;last&lt;/EM&gt; filter&lt;/P&gt;
&lt;P&gt;2. Add actions to all objects on the page&lt;/P&gt;
&lt;P&gt;3. Select your&amp;nbsp;&lt;EM&gt;first&lt;/EM&gt; filter&lt;/P&gt;
&lt;P&gt;4. Sequentially add actions to each subsequent filter until you get to the last filter, or have all filters point to the last filter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will indirectly create all interactions you need on the page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="interactions.gif" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65523i5319849E8F94A02E/image-size/large?v=v2&amp;amp;px=999" role="button" title="interactions.gif" alt="interactions.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Default Values and the User Experience&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Keep any values you want to set as default as clear as possible for users. Make sure that they can see it right when they enter the page. If you have a lot of default values that need to be set and they can't be made obvious, it is a good idea to add text at the top of the page that states what the default values are.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are interested in some more tips around filter and prompt design, check out my paper &lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4171-2020.pdf" target="_self"&gt;Make Beautiful Vertically Scrolling Dashboards in SAS Visual Analytics&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 15:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Clear-filter-in-the-list-of-prompt-container-and-all-filter/m-p/779359#M15610</guid>
      <dc:creator>Stu_SAS</dc:creator>
      <dc:date>2021-11-09T15:52:37Z</dc:date>
    </item>
  </channel>
</rss>

