<?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: Summarising data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Summarising-data/m-p/12196#M1311</link>
    <description>I hope the below code would do for u,and the temp dataset contains the answer which you requested.&lt;BR /&gt;
&lt;BR /&gt;
proc report data=cust nowd out=temp;&lt;BR /&gt;
column cust_no bal;&lt;BR /&gt;
define cust_no/group noprint;&lt;BR /&gt;
define bal/analysis sum noprint;&lt;BR /&gt;
run;</description>
    <pubDate>Mon, 21 Apr 2008 11:25:36 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-04-21T11:25:36Z</dc:date>
    <item>
      <title>Summarising data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Summarising-data/m-p/12194#M1309</link>
      <description>I have a data set which has customer number and different balances for different dates.&lt;BR /&gt;
For example the initial data set has:&lt;BR /&gt;
Cust_1    100.00  1/1/2008&lt;BR /&gt;
Cust_1    150.00  1/10/2008&lt;BR /&gt;
Cust_1    125.00  1/11/2008&lt;BR /&gt;
&lt;BR /&gt;
I want to create data set which has&lt;BR /&gt;
&lt;BR /&gt;
Cust_1 375.00, &lt;BR /&gt;
this data set has the sum of balances for each customer, how would one accomplish this.</description>
      <pubDate>Sun, 20 Apr 2008 01:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Summarising-data/m-p/12194#M1309</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-20T01:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Summarising data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Summarising-data/m-p/12195#M1310</link>
      <description>Hi:&lt;BR /&gt;
  Several possibilities exist for creating summary data sets and summary reports. PROC SQL is one choice; PROC MEANS, PROC TABULATE, and PROC REPORT all have methods to produce summary reports and summary data sets. Each procedure has its own syntax...for example, PROC SQL has the CREATE TABLE statement; PROC MEANS has the OUTPUT statement; PROC TABULATE and PROC REPORT both have the OUT= option, as well as an ODS OUTPUT possibility for most of the above procedures.&lt;BR /&gt;
 &lt;BR /&gt;
  There have been previous forum posts on the subject of summary reports and summary tables/datasets. In addiiton, the documentation on each of the procedures is quite thorough. If you can't find an example in the documentation that suits your needs, you might wish to contact Tech Support for more help. &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sun, 20 Apr 2008 02:08:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Summarising-data/m-p/12195#M1310</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-04-20T02:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Summarising data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Summarising-data/m-p/12196#M1311</link>
      <description>I hope the below code would do for u,and the temp dataset contains the answer which you requested.&lt;BR /&gt;
&lt;BR /&gt;
proc report data=cust nowd out=temp;&lt;BR /&gt;
column cust_no bal;&lt;BR /&gt;
define cust_no/group noprint;&lt;BR /&gt;
define bal/analysis sum noprint;&lt;BR /&gt;
run;</description>
      <pubDate>Mon, 21 Apr 2008 11:25:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Summarising-data/m-p/12196#M1311</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-21T11:25:36Z</dc:date>
    </item>
  </channel>
</rss>

