<?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: Dynamic Date Filters in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149212#M474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mere and Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of how a filter for the last 30 days using 'VA_Date' as a Datetime category:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TreatAs(_Date_, ( TreatAs(_Number_, 'VA_Date'n) / 86400 )) &amp;gt;= TreatAs(_Date_, ( ( TreatAs(_Number_, Now()) / 86400 ) - 30 ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the 'VA_Date' value with your category name.&lt;/P&gt;&lt;P&gt;Updating the last numeric value will allow you to base this filter on the filtering criteria 'last 60 days', 'last 90 days', etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 18:36:08 GMT</pubDate>
    <dc:creator>skillman</dc:creator>
    <dc:date>2014-08-11T18:36:08Z</dc:date>
    <item>
      <title>Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149208#M470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there dynamic date filters in SAS VA 6.3 now? Also is there a 6.3 Video Library? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 14:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149208#M470</guid>
      <dc:creator>BenLangsam</dc:creator>
      <dc:date>2014-01-22T14:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149209#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi Ben,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Just noticed your question was not answered.&amp;nbsp; Could you confirm that by dynamic date filters, you are referring to filters such as today, this month, previous 90 days, etc.?&amp;nbsp; Would these filters be defined once only by the report author or do you need a way for report consumers to change them in a filter control on the report?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Rick Styll&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149209#M471</guid>
      <dc:creator>RickStyll_SAS</dc:creator>
      <dc:date>2014-08-01T21:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149210#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BenLangsam,&lt;/P&gt;&lt;P&gt;There is a video library which can be accessed from within VA version 6.3. In the help drop down you will see a link for videos which will take you to the support.sas.com site:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/software/products/va/index.html#s1=6" title="http://support.sas.com/software/products/va/index.html#s1=6"&gt;SAS Visual Analytics, SAS LASR Analytic Server, and SAS Mobile BI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 13:28:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149210#M472</guid>
      <dc:creator>skillman</dc:creator>
      <dc:date>2014-08-05T13:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149211#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick-&lt;/P&gt;&lt;P&gt;I am looking for the same option -- my users are not fond of the slider bar/calendar pick-the-date for date filters.&amp;nbsp; They asked for things like today, last week, last 30 days, last 60 days, etc.&amp;nbsp; Are those even possible?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:46:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149211#M473</guid>
      <dc:creator>Mere</dc:creator>
      <dc:date>2014-08-05T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149212#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mere and Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of how a filter for the last 30 days using 'VA_Date' as a Datetime category:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TreatAs(_Date_, ( TreatAs(_Number_, 'VA_Date'n) / 86400 )) &amp;gt;= TreatAs(_Date_, ( ( TreatAs(_Number_, Now()) / 86400 ) - 30 ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the 'VA_Date' value with your category name.&lt;/P&gt;&lt;P&gt;Updating the last numeric value will allow you to base this filter on the filtering criteria 'last 60 days', 'last 90 days', etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 18:36:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149212#M474</guid>
      <dc:creator>skillman</dc:creator>
      <dc:date>2014-08-11T18:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149213#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the next release of Visual Analytics, you are able to substitute 30 in Shawn's filter expression above with a parameter using the designer.&amp;nbsp; Report consumers can then select the number of days to subtract from now using an on-report control that modifies the parameter's value, such as a slider.&amp;nbsp; As a report author, you can specify a default value, minimum, and maximum for numeric parameters as well in Visual Analytics 7.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick Styll&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 20:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149213#M475</guid>
      <dc:creator>RickStyll_SAS</dc:creator>
      <dc:date>2014-08-11T20:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149214#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;came across couple of situation where I was asked whether model validation is possible in VA Explorer (for banking, insurance in specific). Is there any thing coming up in near future like integration of SAS RPM with VA in next release?&lt;/P&gt;&lt;P&gt;satlr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 12:17:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149214#M476</guid>
      <dc:creator>sat_lr</dc:creator>
      <dc:date>2014-08-13T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149215#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rick, I was able to utilize the formula 'skillman' gave with the hardcoded variance and, separately, the parameter method.&lt;/P&gt;&lt;P&gt;Additionally, I am working on creating a formula that would determine the number of days needed to subtract to get the current time frame and specific previous time frame aggregates (example, current month and all of previous month).&lt;/P&gt;&lt;P&gt;That way one would not have to change the parameter to alter the number of days being subtracted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 17:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/149215#M477</guid>
      <dc:creator>dmbill</dc:creator>
      <dc:date>2015-05-20T17:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/240662#M2982</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I use the code below to extract teh value for last 30 days, but when I use this in calculated Item, It gives me an error message stating: Type mismatch:expected typr at this location is Datetime, type of item being applied is Boolean.&lt;/P&gt;&lt;P&gt;Please let me know if I am doing something wrong. For my report I need to have filter/button that extracts the data for last 30 days from the entire dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/240662#M2982</guid>
      <dc:creator>abhilashatiwari</dc:creator>
      <dc:date>2015-12-23T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/240914#M2985</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this one, where "Trans.Date" &amp;nbsp;is the variable of your transactions.&lt;/P&gt;&lt;P&gt;Filtering the object on this calculated item being 1 would do the job.&lt;/P&gt;&lt;P&gt;Greetings&amp;nbsp; Peter&lt;/P&gt;&lt;P&gt;&lt;IMG title="27-12-2015 15-02-01.png" alt="27-12-2015 15-02-01.png" src="https://communities.sas.com/t5/image/serverpage/image-id/1314iAA20D3137F8DF255/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 14:06:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/240914#M2985</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2015-12-27T14:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/250119#M3362</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Thanks I am able to use this filter now.&lt;/P&gt;&lt;P&gt;However I have one more question. How to use the code above for the date format like "1January 2016". I am able to use for datetime , but not able to do it with the above format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 16:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/250119#M3362</guid>
      <dc:creator>abhilashatiwari</dc:creator>
      <dc:date>2016-02-15T16:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Date Filters</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/250247#M3366</link>
      <description>&lt;P&gt;Hi Abhi,&lt;/P&gt;&lt;P&gt;please confirm that 1januari2016 is a text and not a format for your date.&lt;/P&gt;&lt;P&gt;if this is a text, shurely there must be a way to transform it into a real date.&lt;/P&gt;&lt;P&gt;if it is a date, then it should work like mentioned above.&lt;/P&gt;&lt;P&gt;if it is a text, I will try to find a way to translate it within SAS VA to a real date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best would be to have a the date already before importing the data into SAS VA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings &amp;nbsp;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 06:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Date-Filters/m-p/250247#M3366</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2016-02-16T06:11:56Z</dc:date>
    </item>
  </channel>
</rss>

