<?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: ID statement in PROC SUMMARY in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ID-statement-in-PROC-SUMMARY/m-p/74249#M21499</link>
    <description>If you want to know which week (out of the 52 weeks per year) has the maximum value per year (I hope I am understanding you properly), then try the MAXID option of the OUTPUT statement.</description>
    <pubDate>Tue, 17 Feb 2009 14:16:58 GMT</pubDate>
    <dc:creator>Paige</dc:creator>
    <dc:date>2009-02-17T14:16:58Z</dc:date>
    <item>
      <title>ID statement in PROC SUMMARY</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ID-statement-in-PROC-SUMMARY/m-p/74247#M21497</link>
      <description>dear all, &lt;BR /&gt;
i am using a PROC SUMMARY to calculate the MAX value per year/week. &lt;BR /&gt;
I also want to know in which week this max value occured so i tried to &lt;BR /&gt;
use the ID statement. &lt;BR /&gt;
But this does not work because the proc gives me the max week for the &lt;BR /&gt;
specified group. &lt;BR /&gt;
This is also stated in the sas help!! &lt;BR /&gt;
&lt;BR /&gt;
How can i get my wanted info (without writing datasteps of course &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
GreetZ, &lt;BR /&gt;
Herman</description>
      <pubDate>Tue, 17 Feb 2009 11:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ID-statement-in-PROC-SUMMARY/m-p/74247#M21497</guid>
      <dc:creator>Jaheuk</dc:creator>
      <dc:date>2009-02-17T11:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: ID statement in PROC SUMMARY</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ID-statement-in-PROC-SUMMARY/m-p/74248#M21498</link>
      <description>Your CLASS or BY statement must also include some SAS variable(s) to identify the year/week (likely a week-start date).  The ID statement is not for this purpose, I would say.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 17 Feb 2009 13:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ID-statement-in-PROC-SUMMARY/m-p/74248#M21498</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-02-17T13:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: ID statement in PROC SUMMARY</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ID-statement-in-PROC-SUMMARY/m-p/74249#M21499</link>
      <description>If you want to know which week (out of the 52 weeks per year) has the maximum value per year (I hope I am understanding you properly), then try the MAXID option of the OUTPUT statement.</description>
      <pubDate>Tue, 17 Feb 2009 14:16:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ID-statement-in-PROC-SUMMARY/m-p/74249#M21499</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2009-02-17T14:16:58Z</dc:date>
    </item>
  </channel>
</rss>

