<?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 subtotal titles in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-subtotal-titles/m-p/20936#M3848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I want to display subtotals as 'subtotals of&amp;nbsp; values'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am refering following example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class nowd out=yy;&lt;/P&gt;&lt;P&gt;column sex age weight;&lt;/P&gt;&lt;P&gt;define sex / order;&lt;/P&gt;&lt;P&gt;break after sex/ol summarize;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compute after sex;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sex='subtotal of sex';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem here is I am getting subtotals label as 'Subtotals of sex' everywhere. But I am expecting it to be displayed as 'Subtotals of M' and 'Subtotals of F'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I am stressing on using proc report only is I am getting the values of sex as macro variables from some other dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am clear and making sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is really appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2011 18:29:38 GMT</pubDate>
    <dc:creator>yash82</dc:creator>
    <dc:date>2011-12-28T18:29:38Z</dc:date>
    <item>
      <title>Proc report subtotal titles</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-subtotal-titles/m-p/20936#M3848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I want to display subtotals as 'subtotals of&amp;nbsp; values'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am refering following example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class nowd out=yy;&lt;/P&gt;&lt;P&gt;column sex age weight;&lt;/P&gt;&lt;P&gt;define sex / order;&lt;/P&gt;&lt;P&gt;break after sex/ol summarize;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compute after sex;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sex='subtotal of sex';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem here is I am getting subtotals label as 'Subtotals of sex' everywhere. But I am expecting it to be displayed as 'Subtotals of M' and 'Subtotals of F'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I am stressing on using proc report only is I am getting the values of sex as macro variables from some other dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am clear and making sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is really appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 18:29:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-subtotal-titles/m-p/20936#M3848</guid>
      <dc:creator>yash82</dc:creator>
      <dc:date>2011-12-28T18:29:38Z</dc:date>
    </item>
    <item>
      <title>Proc report subtotal titles</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-subtotal-titles/m-p/20937#M3849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I think Your compute block should be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute after sex;&lt;/P&gt;&lt;P&gt;sex=catt('Subtotal of",SEX);&lt;/P&gt;&lt;P&gt;endcomp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 18:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-subtotal-titles/m-p/20937#M3849</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-12-28T18:40:03Z</dc:date>
    </item>
  </channel>
</rss>

