<?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: RBREAK IN PROC REPORT in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59105#M16644</link>
    <description>Hi:&lt;BR /&gt;
  This person posted in multiple forums. There were 2 answers posted in a different forum location. &lt;BR /&gt;
 cynthia</description>
    <pubDate>Wed, 29 Jul 2009 02:21:57 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2009-07-29T02:21:57Z</dc:date>
    <item>
      <title>RBREAK IN PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59103#M16642</link>
      <description>HI all,&lt;BR /&gt;
This is my data set..........&lt;BR /&gt;
&lt;BR /&gt;
STAGE X Y Z TOTAL&lt;BR /&gt;
A 1 2 2 5&lt;BR /&gt;
B 3 6 9 18&lt;BR /&gt;
C 1 2 5 8&lt;BR /&gt;
TOTAL 5 10 16 31&lt;BR /&gt;
&lt;BR /&gt;
By using rbreak in proc report we can get this 'TOTAL' row means we can summarize the data but instead of total i want percentage of data values with respect to total and with % sign along with it..Like..........&lt;BR /&gt;
&lt;BR /&gt;
TOTAL 16.1% 32.2% 51.6% 100%&lt;BR /&gt;
&lt;BR /&gt;
SO IS IT POSSIBLE?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for ur help...........</description>
      <pubDate>Mon, 27 Jul 2009 09:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59103#M16642</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-27T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: RBREAK IN PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59104#M16643</link>
      <description>proc report is not my cup of tea, but since no one replied, here is my ugly solution.&lt;BR /&gt;
&lt;BR /&gt;
proc format ; &lt;BR /&gt;
  value weight 0-1=[percent.];&lt;BR /&gt;
&lt;BR /&gt;
proc report data=sashelp.class;&lt;BR /&gt;
  define sex /group;&lt;BR /&gt;
  define age /across ;&lt;BR /&gt;
  define weight/sum format=weight6.;&lt;BR /&gt;
  column  sex age,weight ;&lt;BR /&gt;
  rbreak after/summarize;&lt;BR /&gt;
  compute after;&lt;BR /&gt;
    TOTAL=sum(_C2_, _C3_ , _C4_ , _C5_ , _C6_,  _C7_ );&lt;BR /&gt;
    _C2_=_C2_/TOTAL;&lt;BR /&gt;
    _C3_=_C3_/TOTAL;&lt;BR /&gt;
    _C4_=_C4_/TOTAL;&lt;BR /&gt;
    _C5_=_C5_/TOTAL;&lt;BR /&gt;
    _C6_=_C6_/TOTAL;&lt;BR /&gt;
    _C7_=_C7_/TOTAL;&lt;BR /&gt;
  endcomp;&lt;BR /&gt;
  run;&lt;BR /&gt;
quit;</description>
      <pubDate>Tue, 28 Jul 2009 22:35:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59104#M16643</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2009-07-28T22:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: RBREAK IN PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59105#M16644</link>
      <description>Hi:&lt;BR /&gt;
  This person posted in multiple forums. There were 2 answers posted in a different forum location. &lt;BR /&gt;
 cynthia</description>
      <pubDate>Wed, 29 Jul 2009 02:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59105#M16644</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-07-29T02:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: RBREAK IN PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59106#M16645</link>
      <description>Thanks a lot Chris.......&lt;BR /&gt;
and thanks to u too cynthia..&lt;BR /&gt;
and no one replied on the previous forum thats why i have posted it again in different forum and also the reply which i got in that that was wrong..&lt;BR /&gt;
bt the reply in this is working exactly..&lt;BR /&gt;
thanks again Chris...</description>
      <pubDate>Wed, 29 Jul 2009 07:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59106#M16645</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-29T07:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: RBREAK IN PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59107#M16646</link>
      <description>No worries, Mittal. Sorry Cynthia, I didn't see the other post.</description>
      <pubDate>Thu, 30 Jul 2009 21:45:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/RBREAK-IN-PROC-REPORT/m-p/59107#M16646</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2009-07-30T21:45:27Z</dc:date>
    </item>
  </channel>
</rss>

