<?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: Button on VA Report to &amp;quot;Clear all Filters&amp;quot; in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/273503#M4409</link>
    <description>&lt;P&gt;&amp;nbsp;That's correct. This capability doesn't exist, but I'd like to suggest a workaround that hopefully will help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, you will need&amp;nbsp;a source table with one character column (you can call it &lt;STRONG&gt;Reset_Release&lt;/STRONG&gt; for example) and two rows, like below (make sure that table is loaded in memory):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3357i1BBF56D4CA35CF8D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Reset_Release source table" title="Reset_Release source table" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, add a button bar object to your report and assign the &lt;STRONG&gt;Reset_Release&lt;/STRONG&gt; column to its category role. Create and assign a character parameter (let's call it &lt;STRONG&gt;p_Button&lt;/STRONG&gt;) to this button bar. Make sure that &lt;U&gt;Required is checked&lt;/U&gt; under the button bar Properties tab. Optionally you can make the button to grow vertically instead of horizontally, which is the default, and it would look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3360i504F38FBB1B120B6/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Reset button" title="Reset button" /&gt;&lt;/P&gt;
&lt;P&gt;Suppose you have a category called &lt;STRONG&gt;Product&lt;/STRONG&gt; that you want to add to a control object. Create a calculated item (let's call it &lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;) that is defined&amp;nbsp;with&amp;nbsp;the expression below.&amp;nbsp;Observe that the yellow rectangle contains an empty string "" (missing), and not "text string" (but it could actually contain any value that does not exist as a product in our particular case - for example, it could be something like "Click Release to populate" - this will get clear at the end).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3361iBC1386A8BA2D7C99/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Expression for Resetable Product" title="Expression for Resetable Product" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assign&amp;nbsp;&lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;&amp;nbsp;in the&amp;nbsp;category role of your control object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To reset values that might be selected in the control object, you must first click on Reset, then click on Release in the button bar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you click on&amp;nbsp;Reset in the button bar, &lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;&amp;nbsp;resolves to missing and the control object will display only the missing value. At that moment, if there were products selected in the control object, the selections would be lost. When you click on Release in the button bar,&amp;nbsp;&lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;resolves to &lt;STRONG&gt;Product&lt;/STRONG&gt; and the control object is populated back, but none of its values will be selected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Renato&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2016 05:53:38 GMT</pubDate>
    <dc:creator>Renato_sas</dc:creator>
    <dc:date>2016-05-27T05:53:38Z</dc:date>
    <item>
      <title>Button on VA Report to "Clear all Filters"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/273046#M4371</link>
      <description>&lt;P&gt;Button on VA Report to "Clear all Filters"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i sometimes have multiple filters on tab on a report in VA.&lt;/P&gt;&lt;P&gt;is it possible to provide a button or link on a report that clears all the user entered filters?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 15:17:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/273046#M4371</guid>
      <dc:creator>mhamlett</dc:creator>
      <dc:date>2016-05-25T15:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Button on VA Report to "Clear all Filters"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/273432#M4406</link>
      <description>&lt;P&gt;I'm afraid there is no such button available in VA. However you can get the same effect by refreshing a report. This trick clears all filters and recovers a start version of the report &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 22:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/273432#M4406</guid>
      <dc:creator>WKruk</dc:creator>
      <dc:date>2016-05-26T22:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Button on VA Report to "Clear all Filters"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/273503#M4409</link>
      <description>&lt;P&gt;&amp;nbsp;That's correct. This capability doesn't exist, but I'd like to suggest a workaround that hopefully will help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, you will need&amp;nbsp;a source table with one character column (you can call it &lt;STRONG&gt;Reset_Release&lt;/STRONG&gt; for example) and two rows, like below (make sure that table is loaded in memory):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3357i1BBF56D4CA35CF8D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Reset_Release source table" title="Reset_Release source table" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, add a button bar object to your report and assign the &lt;STRONG&gt;Reset_Release&lt;/STRONG&gt; column to its category role. Create and assign a character parameter (let's call it &lt;STRONG&gt;p_Button&lt;/STRONG&gt;) to this button bar. Make sure that &lt;U&gt;Required is checked&lt;/U&gt; under the button bar Properties tab. Optionally you can make the button to grow vertically instead of horizontally, which is the default, and it would look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3360i504F38FBB1B120B6/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Reset button" title="Reset button" /&gt;&lt;/P&gt;
&lt;P&gt;Suppose you have a category called &lt;STRONG&gt;Product&lt;/STRONG&gt; that you want to add to a control object. Create a calculated item (let's call it &lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;) that is defined&amp;nbsp;with&amp;nbsp;the expression below.&amp;nbsp;Observe that the yellow rectangle contains an empty string "" (missing), and not "text string" (but it could actually contain any value that does not exist as a product in our particular case - for example, it could be something like "Click Release to populate" - this will get clear at the end).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3361iBC1386A8BA2D7C99/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Expression for Resetable Product" title="Expression for Resetable Product" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assign&amp;nbsp;&lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;&amp;nbsp;in the&amp;nbsp;category role of your control object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To reset values that might be selected in the control object, you must first click on Reset, then click on Release in the button bar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you click on&amp;nbsp;Reset in the button bar, &lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;&amp;nbsp;resolves to missing and the control object will display only the missing value. At that moment, if there were products selected in the control object, the selections would be lost. When you click on Release in the button bar,&amp;nbsp;&lt;STRONG&gt;Resetable Product&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;resolves to &lt;STRONG&gt;Product&lt;/STRONG&gt; and the control object is populated back, but none of its values will be selected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Renato&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 05:53:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/273503#M4409</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2016-05-27T05:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Button on VA Report to "Clear all Filters"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/354420#M7026</link>
      <description>&lt;P&gt;Hi renato_sas&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can u have new column&amp;nbsp; &lt;STRONG&gt;Reset_Release in source table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;can u brief about that&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank You&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/354420#M7026</guid>
      <dc:creator>sai222</dc:creator>
      <dc:date>2017-04-28T11:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Button on VA Report to "Clear all Filters"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/354467#M7033</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can simply create an Excel or csv file with one column and two rows and have it loaded in memory, or, depending on your current source table, you might be able to derive the new column Reset_Release from your existing table, without the need to load a new one. I have not tried it yet, but this is how it would work:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Suppose you have in your source table a column called Gender, which values are "M" and "F". You could create a calculated item or a custom category to map "M" to "Reset" and "F" to "Release". Even if your chosen source column has more than two values, such as Continent, with 7 distinct values, you could map 4 or them to be "Reset" and the rest to be "Release". You could also use a numeric column to derive the new Reset_Release column. Imagine your numeric column has values ranging from 1 to 10.  You could say that values less than 5 would be mapped to "Reset" and the rest to "Release". The most important thing in this process is that you must guarantee that there will be at least one value in your data that will be mapped to "Reset" and at least one value that will be mapped to "Release". If you can't guarantee that, the loading a small table like I've explained above is your only option.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;Renato&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:32:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/m-p/354467#M7033</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2017-04-28T13:32:09Z</dc:date>
    </item>
  </channel>
</rss>

