<?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 SAS VA 8.3 - Filter and display data that is 6 months or older in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/751380#M15067</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am trying to filter and display the tickets that are 6 months or older since the date those tickets were opened. Any ideas how to do this? Any help would be appreciated!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 01:28:39 GMT</pubDate>
    <dc:creator>tweehh</dc:creator>
    <dc:date>2021-07-01T01:28:39Z</dc:date>
    <item>
      <title>SAS VA 8.3 - Filter and display data that is 6 months or older</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/751380#M15067</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am trying to filter and display the tickets that are 6 months or older since the date those tickets were opened. Any ideas how to do this? Any help would be appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 01:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/751380#M15067</guid>
      <dc:creator>tweehh</dc:creator>
      <dc:date>2021-07-01T01:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA 8.3 - Filter and display data that is 6 months or older</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752371#M15078</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe this should be possible but a bit annoying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can perform math on dates by using the TreatAs operator and remembering that the date values are the number of days since 01JAN1960 (in this case, we don't care when day zero was.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use an expression like this to determine the 'age' of a date value:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;TreatAs(_Number_, DatePart(Now())) - TreatAs(_Number_, 'Facility Opening Date'n)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you could compare this number to 180 to approximate a six month cutoff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So your advanced filter expression would look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;( TreatAs(_Number_, DatePart(Now())) - TreatAs(_Number_, 'Facility Opening Date'n) ) &amp;gt;= 180&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if that works,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 17:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752371#M15078</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-07-06T17:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA 8.3 - Filter and display data that is 6 months or older</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752409#M15079</link>
      <description>&lt;P&gt;Thank you for your response!&lt;/P&gt;&lt;P&gt;I created the first filter (see below) on the report but the results are negative.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Filter.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60996i9ACA26AFF40FB5B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Filter.PNG" alt="Filter.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;TreatAs(_Number_, DatePart(Now())) - TreatAs(_Number_,&lt;BR /&gt;'Opened at (Date)'n)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 20:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752409#M15079</guid>
      <dc:creator>tweehh</dc:creator>
      <dc:date>2021-07-06T20:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA 8.3 - Filter and display data that is 6 months or older</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752414#M15080</link>
      <description>&lt;P&gt;It's a bit unusual that your data item has parentheses in the name. I'm not sure if that could be an issue, or possibly the Opened At column is a datetime value, in which case wrapping in the DatePart() operator should yield the desired result.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 20:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752414#M15080</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-07-06T20:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA 8.3 - Filter and display data that is 6 months or older</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752558#M15082</link>
      <description>The other issue I forgot to mention is that if you make this a calculated item, you need to set an aggregation other than Sum. That is probably why you are getting such large values.</description>
      <pubDate>Wed, 07 Jul 2021 13:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-8-3-Filter-and-display-data-that-is-6-months-or-older/m-p/752558#M15082</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-07-07T13:30:26Z</dc:date>
    </item>
  </channel>
</rss>

