<?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 Rollup ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Rollup/m-p/15255#M1984</link>
    <description>Is there a Rollup (sql function) or similar function in SAS to get the total or subtotal ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Tue, 22 Feb 2011 20:33:54 GMT</pubDate>
    <dc:creator>newbi</dc:creator>
    <dc:date>2011-02-22T20:33:54Z</dc:date>
    <item>
      <title>Rollup ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rollup/m-p/15255#M1984</link>
      <description>Is there a Rollup (sql function) or similar function in SAS to get the total or subtotal ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Tue, 22 Feb 2011 20:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rollup/m-p/15255#M1984</guid>
      <dc:creator>newbi</dc:creator>
      <dc:date>2011-02-22T20:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rollup ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rollup/m-p/15256#M1985</link>
      <description>IN PROC SQL, there are several.  Check the documentation for "summary functions."  I don't recall one being called "rollup", but SUM provides subtotals or a total.</description>
      <pubDate>Tue, 22 Feb 2011 21:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rollup/m-p/15256#M1985</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-02-22T21:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rollup ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rollup/m-p/15257#M1986</link>
      <description>Hi:&lt;BR /&gt;
  In addition to Doc's suggestion, SAS has reporting procedures like PROC MEANS, PROC TABULATE and PROC REPORT that will produce summary reports (that would only show the subtotals and/or grand totals). PROC REPORT and PROC PRINT have the ability to create "detail" reports where the subtotals and grandtotals are added to the report as extra summary lines. (For purposes of explanation, a detail report contains one report row for every observation in your original dataset or subset, with additional summary lines added to the report; a summary report contains one report row for every summarized group of observations, with additional summary lines added to the report for subtotals and grand totals.)&lt;BR /&gt;
&lt;BR /&gt;
  Some SQL queries are used for reporting purposes, and if this is your goal, then you might investigate the SAS reporting procedures mentioned above (to name just a few).&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 23 Feb 2011 02:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rollup/m-p/15257#M1986</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-02-23T02:35:13Z</dc:date>
    </item>
  </channel>
</rss>

