<?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 tabulate, pctn in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tabulate-pctn/m-p/1764#M784</link>
    <description>I'm trying to get % for each drg using the 'admitsrc'&lt;BR /&gt;
subtotal as the denominator.&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=final;&lt;BR /&gt;
  class fyr  admitsrc drg;&lt;BR /&gt;
  var pats;&lt;BR /&gt;
  table admitsrc*(drg all) ,fyr*(pats*sum*f=5. pctn ); &lt;BR /&gt;
     run;&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
    <pubDate>Tue, 14 Nov 2006 20:57:17 GMT</pubDate>
    <dc:creator>uabcms</dc:creator>
    <dc:date>2006-11-14T20:57:17Z</dc:date>
    <item>
      <title>tabulate, pctn</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tabulate-pctn/m-p/1764#M784</link>
      <description>I'm trying to get % for each drg using the 'admitsrc'&lt;BR /&gt;
subtotal as the denominator.&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=final;&lt;BR /&gt;
  class fyr  admitsrc drg;&lt;BR /&gt;
  var pats;&lt;BR /&gt;
  table admitsrc*(drg all) ,fyr*(pats*sum*f=5. pctn ); &lt;BR /&gt;
     run;&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Tue, 14 Nov 2006 20:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tabulate-pctn/m-p/1764#M784</guid>
      <dc:creator>uabcms</dc:creator>
      <dc:date>2006-11-14T20:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: tabulate, pctn</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tabulate-pctn/m-p/1765#M785</link>
      <description>Try the following PROC TABULATE code:&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=final;&lt;BR /&gt;
class fyr admitsrc drg;&lt;BR /&gt;
var pats;&lt;BR /&gt;
table admitsrc*(drg all) ,fyr*(pats*sum pctn&lt;DRG all=""&gt;); &lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
If this does not answer your question, I would suggest opening a tracking number with Technical Support by sending email to support@sas.com with your code, a sample of the output, and an explanation of the percentages you are trying to get.&lt;/DRG&gt;</description>
      <pubDate>Wed, 15 Nov 2006 12:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tabulate-pctn/m-p/1765#M785</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2006-11-15T12:49:43Z</dc:date>
    </item>
  </channel>
</rss>

