<?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 Most efficient way to get subtotals in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-get-subtotals/m-p/759213#M239869</link>
    <description>&lt;P&gt;Suppose the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Apples        30
Peaches       15
Apples        27
Peaches       12
Apples        19
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;We want to get the subtotals for the items above.&lt;/P&gt;
&lt;P&gt;How best to do that?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;(p.s. -- in the meantime I'll be trying to find the solution.&amp;nbsp; my hunch is to use Proc Freq.&amp;nbsp; but not sure....)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 06:28:28 GMT</pubDate>
    <dc:creator>NKormanik</dc:creator>
    <dc:date>2021-08-04T06:28:28Z</dc:date>
    <item>
      <title>Most efficient way to get subtotals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-get-subtotals/m-p/759213#M239869</link>
      <description>&lt;P&gt;Suppose the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Apples        30
Peaches       15
Apples        27
Peaches       12
Apples        19
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;We want to get the subtotals for the items above.&lt;/P&gt;
&lt;P&gt;How best to do that?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;(p.s. -- in the meantime I'll be trying to find the solution.&amp;nbsp; my hunch is to use Proc Freq.&amp;nbsp; but not sure....)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 06:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-get-subtotals/m-p/759213#M239869</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2021-08-04T06:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Most efficient way to get subtotals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-get-subtotals/m-p/759219#M239874</link>
      <description>&lt;P&gt;proc summary is probably the best way to sum by group.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 06:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-get-subtotals/m-p/759219#M239874</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-08-04T06:34:37Z</dc:date>
    </item>
  </channel>
</rss>

