<?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: proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/576506#M163186</link>
    <description>&lt;P&gt;Then why do you tell proc report to calculate a max, when you don't want it?&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=tbl1;
columns  t x y ;
define t/group;
define x/sum;
define y/display;

rbreak after /summarize ol ul;
compute after;
  t = 'Total';
endcomp;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;PRE&gt;t                 X          Y
a                10        150
                 20        150
                 30        150
b                40        150
                 50        150
--------  ---------           
Total           150           
--------  ---------           
&lt;/PRE&gt;</description>
    <pubDate>Thu, 25 Jul 2019 09:04:39 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-07-25T09:04:39Z</dc:date>
    <item>
      <title>proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/576500#M163185</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In this proc report example I want that&amp;nbsp; in last row under Y column will be empty cell (and not 150 value)&lt;/P&gt;
&lt;P&gt;What is the way to do it please?&lt;/P&gt;
&lt;P&gt;I want also that in last row under "t" column will written "All" and not empty cell&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data tbl1;
input ID t $ X Y;
cards;
1 a 10 150
2 a 20 150
3 a 30 150
4 b 40 150
5 b 50 150
;
run;

proc report data=tbl1;
columns  t x y ;
define t/group;
define x/sum;
define y/max;

rbreak after /summarize ol ul;

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jul 2019 08:46:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/576500#M163185</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-07-25T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/576506#M163186</link>
      <description>&lt;P&gt;Then why do you tell proc report to calculate a max, when you don't want it?&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=tbl1;
columns  t x y ;
define t/group;
define x/sum;
define y/display;

rbreak after /summarize ol ul;
compute after;
  t = 'Total';
endcomp;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;PRE&gt;t                 X          Y
a                10        150
                 20        150
                 30        150
b                40        150
                 50        150
--------  ---------           
Total           150           
--------  ---------           
&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jul 2019 09:04:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/576506#M163186</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-25T09:04:39Z</dc:date>
    </item>
  </channel>
</rss>

