<?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: Using System Date as Parameter in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269752#M4166</link>
    <description>You can use the  SYSDATE it is an AMV</description>
    <pubDate>Wed, 11 May 2016 14:55:19 GMT</pubDate>
    <dc:creator>pearsoninst</dc:creator>
    <dc:date>2016-05-11T14:55:19Z</dc:date>
    <item>
      <title>Using System Date as Parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269713#M4164</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use System Date in my Report Parameter. Is there anyway wherein I can fetch system date.&lt;/P&gt;&lt;P&gt;I've aggregated measures which use this "System Date Parameter" for calculation, From System Date I'll be using the Year and Quarter for their calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SAS Explorer&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 13:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269713#M4164</guid>
      <dc:creator>SAS_Explorer</dc:creator>
      <dc:date>2016-05-11T13:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using System Date as Parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269752#M4166</link>
      <description>You can use the  SYSDATE it is an AMV</description>
      <pubDate>Wed, 11 May 2016 14:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269752#M4166</guid>
      <dc:creator>pearsoninst</dc:creator>
      <dc:date>2016-05-11T14:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using System Date as Parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269768#M4168</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get the current date using this expression:&lt;/P&gt;
&lt;PRE&gt;DatePart( Now() )&lt;/PRE&gt;
&lt;P&gt;This is a date that can be formatted in different ways, or used as part of a filter on date items.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since parameters do not support a date type, you need to format the date as a char, see example below:&lt;/P&gt;
&lt;PRE&gt;Format(DatePart(Now()), 'YYQ6.')&lt;/PRE&gt;
&lt;P&gt;This will return a char string that can then be used as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also have a look at this SAS Note entry &lt;A href="http://support.sas.com/kb/58/046.html" target="_blank"&gt;http://support.sas.com/kb/58/046.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 15:43:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269768#M4168</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-05-11T15:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using System Date as Parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269958#M4174</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a tried it and its working. Can you tell me how to convert "year(category)" to year as numeric?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SAS Explorer&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 04:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/269958#M4174</guid>
      <dc:creator>SAS_Explorer</dc:creator>
      <dc:date>2016-05-12T04:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using System Date as Parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/270093#M4186</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is category a date or a char variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The YEAR operator expects to have a date as its argument and will return a numeric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 15:39:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/270093#M4186</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-05-12T15:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using System Date as Parameter</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/270259#M4190</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a Date variable, I've done by creating a calculated Item as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TreatAs(_Number_, Year(DatePart(Transaction Date))) &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is there any other method to do it, plz share&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SAS Explorer&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 04:01:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Using-System-Date-as-Parameter/m-p/270259#M4190</guid>
      <dc:creator>SAS_Explorer</dc:creator>
      <dc:date>2016-05-13T04:01:24Z</dc:date>
    </item>
  </channel>
</rss>

