<?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: DATE in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139443#M106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, Thanks for your valuable suggestions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Michelle, Present don't have permission to access data query builder, i have permission to access only Reports, is there any way to this in reports (Version 6.4). Every Month&amp;nbsp; i am creating manually new date variable 'Month end' (31st Jan 2015), and then i will convert the two date variables'MAX DATE' (20th JAN 2015), 'MONTH END'(31st JAN 2015) into numeric using treatas function, after that i will subtract the two numeric dates then i can easily get answer changing Aggregation to MAX in Properties Tab. but my problem is every month it will be automated, is there any way to do this in reports environment.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Teja Surapaneni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 06:29:37 GMT</pubDate>
    <dc:creator>TejaSurapaneni</dc:creator>
    <dc:date>2015-01-28T06:29:37Z</dc:date>
    <item>
      <title>DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139436#M99</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate how many days remaining in this month, for example i have date field with last updated date (20th Jan, 2014), i want to find out remaining days in this month (Jan). is there any way to do this.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Teja Surapaneni. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 06:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139436#M99</guid>
      <dc:creator>TejaSurapaneni</dc:creator>
      <dc:date>2015-01-27T06:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139437#M100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;days=intnx('month',datecol,0,'end')-datecol;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139437#M100</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2015-01-27T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139438#M101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;have=today();&lt;BR /&gt;want=intck('day',have,intnx('month',have,0,'e'));&lt;BR /&gt;put want=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:53:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139438#M101</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2015-01-27T13:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139439#M102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dates in SAS are stored as numbers.&lt;/P&gt;&lt;P&gt;For your problem, you can create a new column defined as "'31JAN2015'd - datevariable" which gives you the days remaining in this month, provided datevariable is in numerical or date format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139439#M102</guid>
      <dc:creator>Phaneendra</dc:creator>
      <dc:date>2015-01-27T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139440#M103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please as dates are saved like numbers how do you show&amp;nbsp; them in the table list or graphics lines?&lt;/P&gt;&lt;P&gt;Because I can´t assign the format in other place&lt;/P&gt;&lt;P&gt;thnaks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 16:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139440#M103</guid>
      <dc:creator>SilinBorro</dc:creator>
      <dc:date>2015-01-27T16:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139441#M104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silin,&lt;/P&gt;&lt;P&gt;dates are represented in a date format but at the end they are just a number.&lt;/P&gt;&lt;P&gt;So you can decide for yourselves if you want a date format or transform the date to a number &lt;/P&gt;&lt;P&gt;and use a numeric format. (Using a new calculated field)&lt;/P&gt;&lt;P&gt;question is, what is your goal to reach using the available tools.&lt;/P&gt;&lt;P&gt;hope this helps a little.&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 18:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139441#M104</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2015-01-27T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139442#M105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be best to do the processing prior to loading the data into SAS Visual Analytics if you want to use the intnx function. As you can see in the screenshot this function is not available within the Calculated Data Item expression builder&lt;/P&gt;&lt;P&gt;&lt;IMG alt="format.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/8885_format.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As &lt;A __default_attr="824612" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; suggests you could convert the data item to its number and do a numeric calculation. Note if you import the data from Excel it uses the Excel format type to determine its metadata type in SAS Visual Analytics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could use SAS Visual Analytics Data Builder to create a query to create an expression for your new Days column as the intnx function is available there as per the screenshot below&lt;/P&gt;&lt;P&gt;&lt;IMG alt="format.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/8886_format.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 02:28:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139442#M105</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2015-01-28T02:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139443#M106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, Thanks for your valuable suggestions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Michelle, Present don't have permission to access data query builder, i have permission to access only Reports, is there any way to this in reports (Version 6.4). Every Month&amp;nbsp; i am creating manually new date variable 'Month end' (31st Jan 2015), and then i will convert the two date variables'MAX DATE' (20th JAN 2015), 'MONTH END'(31st JAN 2015) into numeric using treatas function, after that i will subtract the two numeric dates then i can easily get answer changing Aggregation to MAX in Properties Tab. but my problem is every month it will be automated, is there any way to do this in reports environment.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Teja Surapaneni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 06:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139443#M106</guid>
      <dc:creator>TejaSurapaneni</dc:creator>
      <dc:date>2015-01-28T06:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: DATE</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139444#M107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would want to automate the process too... Having access to the SAS Visual Analytics Data Builder will enable you to have a scheduled query that creates these columns and update your table. Alternatively, you could have a scheduled SAS process outside of the SAS Visual Analytics environment prior to the data load process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 01:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/DATE/m-p/139444#M107</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2015-01-29T01:35:13Z</dc:date>
    </item>
  </channel>
</rss>

