<?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: label for Summarize row in proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/label-for-Summarize-row-in-proc-report/m-p/821230#M324218</link>
    <description>&lt;PRE&gt; 

data a;
input x 1. y 1.;
datalines;
10
21
31
22
;
run;

proc format;
value grp
1='A'
2='B'
3='A'
.='Total'
;


proc report data=a nowd  ;
column x xx n;
define x / group format=grp10. noprint  ;
define xx/computed;
define n / 'count';
compute xx/character length=10;
 xx=put(x,grp8. -l);
endcomp;
rbreak before / summarize;
run;&lt;/PRE&gt;</description>
    <pubDate>Fri, 01 Jul 2022 02:44:47 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-07-01T02:44:47Z</dc:date>
    <item>
      <title>label for Summarize row in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/label-for-Summarize-row-in-proc-report/m-p/821205#M324212</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I force the word "Total" for the summary line in the code below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;input x 1. y 1.;&lt;BR /&gt;datalines;&lt;BR /&gt;10&lt;BR /&gt;21&lt;BR /&gt;31&lt;BR /&gt;22&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value grp&lt;BR /&gt;1='A'&lt;BR /&gt;2='B'&lt;BR /&gt;3='A'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc report data=a;&lt;BR /&gt;col x n;&lt;BR /&gt;define x / group format=grp.;&lt;BR /&gt;define n / 'count';&lt;BR /&gt;compute before;&lt;BR /&gt;x = 'Total'; /*column or grand total*/&lt;BR /&gt;endcomp;&lt;BR /&gt;rbreak before / summarize;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 20:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/label-for-Summarize-row-in-proc-report/m-p/821205#M324212</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2022-06-30T20:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: label for Summarize row in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/label-for-Summarize-row-in-proc-report/m-p/821230#M324218</link>
      <description>&lt;PRE&gt; 

data a;
input x 1. y 1.;
datalines;
10
21
31
22
;
run;

proc format;
value grp
1='A'
2='B'
3='A'
.='Total'
;


proc report data=a nowd  ;
column x xx n;
define x / group format=grp10. noprint  ;
define xx/computed;
define n / 'count';
compute xx/character length=10;
 xx=put(x,grp8. -l);
endcomp;
rbreak before / summarize;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Jul 2022 02:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/label-for-Summarize-row-in-proc-report/m-p/821230#M324218</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-07-01T02:44:47Z</dc:date>
    </item>
  </channel>
</rss>

