<?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: Advanced Date Filter in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435855#M9430</link>
    <description>Brilliant! Thanks</description>
    <pubDate>Fri, 09 Feb 2018 20:59:22 GMT</pubDate>
    <dc:creator>awmeyertimmy</dc:creator>
    <dc:date>2018-02-09T20:59:22Z</dc:date>
    <item>
      <title>Advanced Date Filter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435692#M9421</link>
      <description>&lt;P&gt;I'm trying to build a filter within a crosstab to automatically filter the date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 14 months of data, Dec 16' - Jan 18', but I only want to show data from 4 months ago (This month that would be Oct. 17').&amp;nbsp; My data set updates each month by rolling forward one month (e.g. my next data set will have dates raning from 1/1/17 - 2/28/18) and I will need the filter to grab data from Nov. 17' only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have this as the syntax of the filter but it is not working correctly.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DatePart(AppVintage) = DateFromMDY(( Month(DatePart(Now())) - 4 ), 1, Year(DatePart(Now())))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The format of the date field (AppVintage) is DATETIME22.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me with this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 17:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435692#M9421</guid>
      <dc:creator>awmeyertimmy</dc:creator>
      <dc:date>2018-02-09T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435706#M9424</link>
      <description>&lt;P&gt;I don't use VA so I'm not sure of all the functions that may be available. If you have the INTNX function that will increment date, time and datetime values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so perhaps&lt;/P&gt;
&lt;P&gt;AppVintage = intnx('dtmonth',now(),-4,'B');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which if the function intnx is available should return the time of the beginning day of the month 4 previous.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 17:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435706#M9424</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-09T17:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435707#M9425</link>
      <description>&lt;P&gt;INTNX would work great! However, I don't believe it's available in Visual Analytics.&amp;nbsp; That's why I'm stuck. Thanks though!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 17:08:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435707#M9425</guid>
      <dc:creator>awmeyertimmy</dc:creator>
      <dc:date>2018-02-09T17:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435782#M9426</link>
      <description>&lt;P&gt;If a base SAS function such as INTNX or INTCK would be helpful and isn't available in VA you might consider posting a request to add them in the SASWare Ballot section of the forum: &lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas" target="_blank"&gt;https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 18:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435782#M9426</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-09T18:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Date Filter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435844#M9429</link>
      <description>Create a numeric meassure from year and month and then use rank to select then highest 4. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; //Fredrik</description>
      <pubDate>Fri, 09 Feb 2018 20:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435844#M9429</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-02-09T20:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Date Filter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435855#M9430</link>
      <description>Brilliant! Thanks</description>
      <pubDate>Fri, 09 Feb 2018 20:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Advanced-Date-Filter/m-p/435855#M9430</guid>
      <dc:creator>awmeyertimmy</dc:creator>
      <dc:date>2018-02-09T20:59:22Z</dc:date>
    </item>
  </channel>
</rss>

