<?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: One button to reset all filters SAS VA 8.2 in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524540#M4792</link>
    <description>&lt;P&gt;I am on&amp;nbsp;SAS VA 8.2 and I am not displaying the same prompts in my list table. Plus I have more than 5 prompts. Thank you for the idea, but it does not apply to my situation.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 13:25:05 GMT</pubDate>
    <dc:creator>r0oki3</dc:creator>
    <dc:date>2019-01-04T13:25:05Z</dc:date>
    <item>
      <title>One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/523400#M4610</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/td-p/273046" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/Button-on-VA-Report-to-quot-Clear-all-Filters-quot/td-p/273046&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we do this with just one button?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 14:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/523400#M4610</guid>
      <dc:creator>r0oki3</dc:creator>
      <dc:date>2018-12-24T14:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524322#M4768</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212006"&gt;@r0oki3&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use a button bar that is populated with only one value (e.g. "Reset"), but you would have to uncheck the Required checkbox in the button bar options pane. Because a VA button bar doesn't behave like an application button in the sense that a mouse button down presses the button and a mouse button up releases the button, you still need to click twice in the VA button: first to select the button (press) and then to unselect it (release).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 17:15:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524322#M4768</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2019-01-03T17:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524323#M4769</link>
      <description>&lt;P&gt;thank you for the clarification. It's better to use a two button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 17:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524323#M4769</guid>
      <dc:creator>r0oki3</dc:creator>
      <dc:date>2019-01-04T17:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524468#M4789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_8" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212006" target="_self"&gt;r0oki3&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;You could use 1 button that acts&amp;nbsp;based on&amp;nbsp;a&amp;nbsp;'one click'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;in VA.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;For example I have used the CARS datasource&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Created a parameter called reset filter&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 306px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25980i12EB89F8C4C96BF7/image-dimensions/306x230?v=v2" width="306" height="230" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Created a calculated field called 'Reset filter'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 500px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25979i379071CE29C94D23/image-dimensions/500x216?v=v2" width="500" height="216" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Add a button&amp;nbsp; and some measures&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 501px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25981i9A193FFEBF51AE69/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Button:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 332px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25982iA5DBF319F2D8690D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Created a new calculated field for the prompt I a using:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25983iBECDCDDF526BBCA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Connect the calculated field 'Origin_prompt' to a list:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;(List is created in section prompt field)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 248px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25984iD7FA1E4E4F4F5D69/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;So if you now select for example 'Asia' the report is filtered on Asia. If you select the button it will reset all list values.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Note1: for every prompt you are using, you need to create there own calculated field.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note2: Don't know if the above will work quick on a large database / with much prompts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 09:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524468#M4789</guid>
      <dc:creator>DJongman</dc:creator>
      <dc:date>2019-01-04T09:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524540#M4792</link>
      <description>&lt;P&gt;I am on&amp;nbsp;SAS VA 8.2 and I am not displaying the same prompts in my list table. Plus I have more than 5 prompts. Thank you for the idea, but it does not apply to my situation.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 13:25:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524540#M4792</guid>
      <dc:creator>r0oki3</dc:creator>
      <dc:date>2019-01-04T13:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524606#M4802</link>
      <description>&lt;P&gt;I think the solution that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/58203"&gt;@DJongman&lt;/a&gt; proposed is interesting and should be evaluated. I don't see much difference on the requirements he described compared with the previous solution, so if the previous one works, this one should work too, with the advantage that you now have a single value button.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tested it in VA 8.2 and it worked, but I took the liberty to rewrite it to use the new isSet operator. I think it helps clarify why and how this solution works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The calculated item used to populate the button is rewritten like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF NOT(( 'p_Reset'p IsSet ))&lt;BR /&gt;RETURN 'Reset all filters'&lt;BR /&gt;ELSE 'Resetting'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the calculated item used to populate the prompt (for Make for example) becomes this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF NOT(( 'p_Reset'p IsSet ))&lt;BR /&gt;RETURN 'Make'n&lt;BR /&gt;ELSE 'Resetting...'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This solution works because the parameter p_Reset is initially not set to any value and the button displays 'Reset all filters'. Every time you click on the button, the parameter is set to a value ('Reset all filters'), forcing the button label&amp;nbsp;to change&amp;nbsp;to 'Resetting', and every time the data behind a button changes, the button goes back to its default state, which is nothing selected. This sets the parameter back to a "not set" state which&amp;nbsp;in turn changes the button label back to "Reset all filters". Flipping the value of the parameter back and forth between a not set and a set state is all that you need to trigger the control object (prompt) to be reset, as its underlying data changes and the prompt values are reloaded with nothing selected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I really like it and I'd definitely give it a try.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 16:34:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524606#M4802</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2019-01-04T16:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524617#M4804</link>
      <description>&lt;P&gt;Just a quick update:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've just tested it on the latest VA release (8.3 September Update) and it didn't work. For some reason the button label doesn't momentarily change to 'Resetting' and then goes back&amp;nbsp;to 'Reset all filters'. It remains as 'Reset all filters' in a selected state, most likely because starting with VA 8.3, VA is able to retain the state of user selections, and it may be interfering with the logic that the solution is trying to apply.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 16:49:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524617#M4804</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2019-01-04T16:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524635#M4806</link>
      <description>&lt;P&gt;1. I did the same steps as you mentioned for 11 filters which are a mix of drop down and lists. In VA I get an error as soon as I select a filter value as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reset.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25989i2087BE4E767FE6D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Reset.JPG" alt="Reset.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but here the button bar when clicked changes from 'Reset all filters' to Resetting and back to 'Reset all filters'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When I open the report in report viewer, the filters work fine and I do not see the above error but the button bar when clicked to Reset changes to Resetting and is not changing back to Reset all filters. Once I click multiple times on the button, probably 2 or 3 then it changes back to Reset all filters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1484"&gt;@Renato_sas&lt;/a&gt;&amp;nbsp;are you facing anything like this.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/58203"&gt;@DJongman&lt;/a&gt;&amp;nbsp;thank you for the idea.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 17:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524635#M4806</guid>
      <dc:creator>r0oki3</dc:creator>
      <dc:date>2019-01-04T17:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524665#M4809</link>
      <description>&lt;P&gt;Indeed, it seems that VA 8.2 Report Viewer behaves differently. The first time you click on the button it changes to 'Resetting', but it's not selected. The second time you click it remains in 'Resetting' but the button is now selected. The third time you click in the button it goes back to 'Reset all filters' and it's not selected, which is the original state. Three clicks total. because of that, I guess the original proposed solution is still the best one, at least for VA 8.2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didn't get any errors like you did, but my report is different, so there might be something else in your report that is causing it.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 19:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/524665#M4809</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2019-01-04T19:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/579452#M13454</link>
      <description>&lt;P&gt;Hi, is the originally proposed solution supposed to work for all filters? I have 4 filters in a report and clicking on reset and then release only clears the first filter. Am I doing something wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 17:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/579452#M13454</guid>
      <dc:creator>jkaur</dc:creator>
      <dc:date>2019-08-06T17:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: One button to reset all filters SAS VA 8.2</title>
      <link>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/579453#M13455</link>
      <description>&lt;P&gt;If you do this for all the filters, it should work.&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;</description>
      <pubDate>Tue, 06 Aug 2019 17:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/One-button-to-reset-all-filters-SAS-VA-8-2/m-p/579453#M13455</guid>
      <dc:creator>r0oki3</dc:creator>
      <dc:date>2019-08-06T17:28:26Z</dc:date>
    </item>
  </channel>
</rss>

