<?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: I have question regarding how many weeks' data maintain the following code for week ending repor in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/I-have-question-regarding-how-many-weeks-data-maintain-the/m-p/909392#M44099</link>
    <description>&lt;P&gt;It is asking for 90 days and nothing related to "weeks".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Week can have multiple definitions as to start day of the week, how the transition across calendar years gets treated and such.&lt;/P&gt;
&lt;P&gt;Look at the WEEK function documentation and the U, V and W descriptor options for example.&lt;/P&gt;
&lt;P&gt;Without knowing which definition you use can't say. Also I see nothing that bears on a "week ending" to clarify.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2023 20:31:35 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-12-21T20:31:35Z</dc:date>
    <item>
      <title>I have question regarding how many weeks' data maintain the following code for week ending report.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/I-have-question-regarding-how-many-weeks-data-maintain-the/m-p/909388#M44098</link>
      <description>&lt;P&gt;r.activdate &amp;lt;= intnx('days', "&amp;amp;datepmt."d, -90)&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 20:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/I-have-question-regarding-how-many-weeks-data-maintain-the/m-p/909388#M44098</guid>
      <dc:creator>Munivan</dc:creator>
      <dc:date>2023-12-21T20:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: I have question regarding how many weeks' data maintain the following code for week ending repor</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/I-have-question-regarding-how-many-weeks-data-maintain-the/m-p/909392#M44099</link>
      <description>&lt;P&gt;It is asking for 90 days and nothing related to "weeks".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Week can have multiple definitions as to start day of the week, how the transition across calendar years gets treated and such.&lt;/P&gt;
&lt;P&gt;Look at the WEEK function documentation and the U, V and W descriptor options for example.&lt;/P&gt;
&lt;P&gt;Without knowing which definition you use can't say. Also I see nothing that bears on a "week ending" to clarify.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 20:31:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/I-have-question-regarding-how-many-weeks-data-maintain-the/m-p/909392#M44099</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-12-21T20:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: I have question regarding how many weeks' data maintain the following code for week ending repor</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/I-have-question-regarding-how-many-weeks-data-maintain-the/m-p/909401#M44101</link>
      <description>&lt;P&gt;You could have ANY number of days, given that you restrict activdate to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;      and r.activdate &amp;lt;= intnx('days', "&amp;amp;datepmt."d, -90)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This puts a ceiling on acceptable activdate values, but no minimum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, you could find the minimum activdate found in the data, so you would know the number of possible date values.&amp;nbsp; &amp;nbsp;But you would als have to know the maximum date value found to get the RANGE.&amp;nbsp; &amp;nbsp;And do a frequency of activdate to get the actual NUMBER of unique date values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what do you actually want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 21:02:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/I-have-question-regarding-how-many-weeks-data-maintain-the/m-p/909401#M44101</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2023-12-21T21:02:58Z</dc:date>
    </item>
  </channel>
</rss>

