<?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 Vertical Summation. Any help appreciated! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Vertical-Summation-Any-help-appreciated/m-p/190740#M35967</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;I'm currently stuck with a SAS issue regarding Vertical Summation which I hope someone might be able to solve for me &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a lot of information regarding different products which I have tried to illustrate beneth. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="128" style="border: 1px solid #000000; width: 604px; height: 130px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;Ordernumber&lt;/TH&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;Color&lt;/TH&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff; text-align: center; background-color: #6690bc;"&gt;Customer name&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;XXX&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;212913&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Jones&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;212913&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Jones&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;P&gt;212913&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Jones&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;212888&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Green&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Carina&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;212888&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Yellow&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Carina&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am seeking is to create a new variable with the information on the size of the order the product was sold in.&lt;/P&gt;&lt;P&gt;Basicly I'm looking for is a function to summarize the amount of times ordernumber appears and then create a new variable telling me the size of the order the product was sold in (Illustrated by the name XXX, this could have been replaced with Ordersize).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Any help is much appreciated.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Nov 2014 19:27:30 GMT</pubDate>
    <dc:creator>DDaugaard</dc:creator>
    <dc:date>2014-11-29T19:27:30Z</dc:date>
    <item>
      <title>Vertical Summation. Any help appreciated!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Vertical-Summation-Any-help-appreciated/m-p/190740#M35967</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;I'm currently stuck with a SAS issue regarding Vertical Summation which I hope someone might be able to solve for me &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a lot of information regarding different products which I have tried to illustrate beneth. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="128" style="border: 1px solid #000000; width: 604px; height: 130px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;Ordernumber&lt;/TH&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;Color&lt;/TH&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff; text-align: center; background-color: #6690bc;"&gt;Customer name&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="color: #ffffff; padding: 2px; text-align: center; background-color: #6690bc;" valign="middle"&gt;XXX&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;212913&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Jones&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;212913&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Jones&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;P&gt;212913&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Jones&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;212888&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Green&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Carina&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;212888&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Yellow&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Carina&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am seeking is to create a new variable with the information on the size of the order the product was sold in.&lt;/P&gt;&lt;P&gt;Basicly I'm looking for is a function to summarize the amount of times ordernumber appears and then create a new variable telling me the size of the order the product was sold in (Illustrated by the name XXX, this could have been replaced with Ordersize).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Any help is much appreciated.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Nov 2014 19:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Vertical-Summation-Any-help-appreciated/m-p/190740#M35967</guid>
      <dc:creator>DDaugaard</dc:creator>
      <dc:date>2014-11-29T19:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical Summation. Any help appreciated!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Vertical-Summation-Any-help-appreciated/m-p/190741#M35968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table want as&lt;/P&gt;&lt;P&gt;select *, count(*) as OrderSize&lt;/P&gt;&lt;P&gt;from have&lt;/P&gt;&lt;P&gt;group by OrderNumber;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Nov 2014 19:53:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Vertical-Summation-Any-help-appreciated/m-p/190741#M35968</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-29T19:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical Summation. Any help appreciated!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Vertical-Summation-Any-help-appreciated/m-p/190742#M35969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm! Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2014 09:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Vertical-Summation-Any-help-appreciated/m-p/190742#M35969</guid>
      <dc:creator>DDaugaard</dc:creator>
      <dc:date>2014-11-30T09:54:39Z</dc:date>
    </item>
  </channel>
</rss>

