<?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: Last 13 week's data in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463288#M29895</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/157166"&gt;@BURHAN_CIGDEM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you but it did not work. "Tarih" variable is stored as numeric variable. For example; 20180511(yyyymmdd). Should I convert it date format or something else?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Show us the SASLOG. Show us other evidence that it did not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I wrote expects TARIH to be numeric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 May 2018 12:15:14 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-05-18T12:15:14Z</dc:date>
    <item>
      <title>Last 13 week's data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/461316#M29747</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a SAS data set which contains 3 variables and 300 obs. Name of variables are Tarih, K1 and K2. Tarih variable is actually dates of data on weekly basis. Well, I wanna create a new SAS data set which includes last 13 weeks when I run the code every times.&amp;nbsp; How can I do that?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 13:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/461316#M29747</guid>
      <dc:creator>BURHAN_CIGDEM</dc:creator>
      <dc:date>2018-05-10T13:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 week's data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/461320#M29750</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
&amp;nbsp; &amp;nbsp; set&amp;nbsp;have;
    if tarih&amp;gt;=intnx('week',today(),-13,'s');
    /* ALTERNATIVE: if tarih &amp;gt;= today()-13*7; */
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 May 2018 14:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/461320#M29750</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-05-10T14:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 week's data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463286#M29894</link>
      <description>Thank you but it did not work. "Tarih" variable is stored as numeric variable. For example; 20180511(yyyymmdd). Should I convert it date format or something else?</description>
      <pubDate>Fri, 18 May 2018 12:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463286#M29894</guid>
      <dc:creator>BURHAN_CIGDEM</dc:creator>
      <dc:date>2018-05-18T12:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 week's data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463288#M29895</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/157166"&gt;@BURHAN_CIGDEM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you but it did not work. "Tarih" variable is stored as numeric variable. For example; 20180511(yyyymmdd). Should I convert it date format or something else?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Show us the SASLOG. Show us other evidence that it did not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I wrote expects TARIH to be numeric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 12:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463288#M29895</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-05-18T12:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 week's data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463292#M29896</link>
      <description>There is no any problem on SASLog but I can see all obs in output data, not just last 13.</description>
      <pubDate>Fri, 18 May 2018 12:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463292#M29896</guid>
      <dc:creator>BURHAN_CIGDEM</dc:creator>
      <dc:date>2018-05-18T12:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 week's data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463348#M29904</link>
      <description>&lt;P&gt;Burhan, show us the code then. Show us (some of) the data. Don't keep replying without showing us&amp;nbsp;what is happening. Show us.&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 14:16:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-13-week-s-data/m-p/463348#M29904</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-05-18T14:16:37Z</dc:date>
    </item>
  </channel>
</rss>

