<?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 proc report rbreak after label in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rbreak-after-label/m-p/15580#M3383</link>
    <description>The last row gives the sum of each numeric column.&lt;BR /&gt;
In the cell that occupies the first column and last row I would like to see the word "Total"&lt;BR /&gt;
How do I accomplish this?&lt;BR /&gt;
Thank you.&lt;BR /&gt;
&lt;BR /&gt;
proc report data=test nowd out=test&lt;BR /&gt;
	style(header)=[font_weight=bold]; &lt;BR /&gt;
	options missing='0';&lt;BR /&gt;
	column bu ydoi, (yr_tot);&lt;BR /&gt;
	define bu /group style(column)={just=l};&lt;BR /&gt;
	define ydoi /across '';&lt;BR /&gt;
	define yr_tot /analysis '' format=comma9.; &lt;BR /&gt;
	rbreak after / ol skip summarize;&lt;BR /&gt;
run;</description>
    <pubDate>Tue, 12 Oct 2010 04:48:58 GMT</pubDate>
    <dc:creator>gzr2mz39</dc:creator>
    <dc:date>2010-10-12T04:48:58Z</dc:date>
    <item>
      <title>proc report rbreak after label</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rbreak-after-label/m-p/15580#M3383</link>
      <description>The last row gives the sum of each numeric column.&lt;BR /&gt;
In the cell that occupies the first column and last row I would like to see the word "Total"&lt;BR /&gt;
How do I accomplish this?&lt;BR /&gt;
Thank you.&lt;BR /&gt;
&lt;BR /&gt;
proc report data=test nowd out=test&lt;BR /&gt;
	style(header)=[font_weight=bold]; &lt;BR /&gt;
	options missing='0';&lt;BR /&gt;
	column bu ydoi, (yr_tot);&lt;BR /&gt;
	define bu /group style(column)={just=l};&lt;BR /&gt;
	define ydoi /across '';&lt;BR /&gt;
	define yr_tot /analysis '' format=comma9.; &lt;BR /&gt;
	rbreak after / ol skip summarize;&lt;BR /&gt;
run;</description>
      <pubDate>Tue, 12 Oct 2010 04:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rbreak-after-label/m-p/15580#M3383</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-10-12T04:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: proc report rbreak after label</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rbreak-after-label/m-p/15581#M3384</link>
      <description>Hi:&lt;BR /&gt;
  You would have a compute block, something like:&lt;BR /&gt;
[pre]&lt;BR /&gt;
compute after;&lt;BR /&gt;
  bu='Total';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
  The only complication is that the internal length of the BU variable must be big enough to hold the string "Total'. There are ways around it if BU is numeric or a length of 2 -- but the simple compute block above should work if the BU variable is character length of at least 5.&lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;BR /&gt;
 &lt;BR /&gt;
ps...also, please do me a favor and move your OPTIONS statement outside of your PROC REPORT step. It just bothers me to see the OPTIONS statement in the wrong place.</description>
      <pubDate>Tue, 12 Oct 2010 23:28:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rbreak-after-label/m-p/15581#M3384</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-10-12T23:28:36Z</dc:date>
    </item>
  </channel>
</rss>

