<?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: problem using displaying total using proc report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/problem-using-displaying-total-using-proc-report/m-p/89555#M25537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post some data of dataset(final2) used by PROC REPORT.&lt;/P&gt;&lt;P&gt;And the output you need. the best is a snapshot .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2012 01:42:13 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2012-10-09T01:42:13Z</dc:date>
    <item>
      <title>problem using displaying total using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-using-displaying-total-using-proc-report/m-p/89554#M25536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 00:40:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-using-displaying-total-using-proc-report/m-p/89554#M25536</guid>
      <dc:creator>reddy19</dc:creator>
      <dc:date>2012-10-09T00:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem using displaying total using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-using-displaying-total-using-proc-report/m-p/89555#M25537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post some data of dataset(final2) used by PROC REPORT.&lt;/P&gt;&lt;P&gt;And the output you need. the best is a snapshot .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 01:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-using-displaying-total-using-proc-report/m-p/89555#M25537</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-10-09T01:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem using displaying total using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-using-displaying-total-using-proc-report/m-p/89556#M25538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Ksharp suggests it is a bit hard to be specific without seeing more of the problem, but ....&amp;nbsp; You can let REPORT do your summarizations for you.&amp;nbsp; This simplifies your code and can speed up the processing.&amp;nbsp; In this small example the BREAK and RBREAK statements (with the SUMMARIZE option) are used to create subtotals and totals.&amp;nbsp; Notice that the define usage is GROUP rather than ORDER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.prdsale nowd;&lt;/P&gt;&lt;P&gt;column product quarter actual;&lt;/P&gt;&lt;P&gt;define product / group;&lt;/P&gt;&lt;P&gt;define quarter / group;&lt;/P&gt;&lt;P&gt;define actual / sum;&lt;/P&gt;&lt;P&gt;break after product/summarize;&lt;/P&gt;&lt;P&gt;rbreak after/summarize;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an aside verify that your calculation for AGE is close enough.&amp;nbsp; if you only have the year for the DOB then this is about all you can do, otherwise there are more appropriate ways to calcuate a persons age.&amp;nbsp; &lt;A href="http://www.wuss.org/proceedings10/coders/2943_4_COD-Carpenter.pdf"&gt;http://www.wuss.org/proceedings10/coders/2943_4_COD-Carpenter.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 04:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-using-displaying-total-using-proc-report/m-p/89556#M25538</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-09T04:44:52Z</dc:date>
    </item>
  </channel>
</rss>

