<?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: PROC TABULATE WIth 2 Class variables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-WIth-2-Class-variables/m-p/27477#M6267</link>
    <description>Hi:&lt;BR /&gt;
  That is something that TABULATE is not designed to do. This question has come up before and the answer is still the same:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=49759쉟" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=49759쉟&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  Basically, you either create an output dataset with TABULATE and then use other methods (like PROC PRINT) to create a report from the output dataset, or, you switch to PROC REPORT. Except for the KURTOSIS and SKEWNESS and some of the percent statistics, PROC REPORT has the ability to create the same statistics as TABULATE -- and because of the ability to use a COMPUTE block, you can work things out so that the CLASS variable value (would be ORDER or GROUP in REPORT) is repeated on every report row.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Fri, 11 Mar 2011 18:40:55 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2011-03-11T18:40:55Z</dc:date>
    <item>
      <title>PROC TABULATE WIth 2 Class variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-WIth-2-Class-variables/m-p/27476#M6266</link>
      <description>Greetings,&lt;BR /&gt;
&lt;BR /&gt;
How can I display the value of the CLASS variables on each line of a PROC TABULATE procedure with multiple CLASS variables?  For example, &lt;BR /&gt;
&lt;BR /&gt;
CLASS AUTO YR;&lt;BR /&gt;
TABLE (AUTO=' ')*(YR=' '), ALL /rts=20 misstext='0';&lt;BR /&gt;
&lt;BR /&gt;
output is:&lt;BR /&gt;
&lt;BR /&gt;
BUICK  2005      10&lt;BR /&gt;
            2006      5&lt;BR /&gt;
            2007      10&lt;BR /&gt;
FORD  2006      10&lt;BR /&gt;
           2007      10&lt;BR /&gt;
&lt;BR /&gt;
What I want:&lt;BR /&gt;
&lt;BR /&gt;
BUICK  2005     10&lt;BR /&gt;
BUICK  2006      5&lt;BR /&gt;
BUICK  2007     10&lt;BR /&gt;
FORD  2006      10&lt;BR /&gt;
FORD   2007    10&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
&lt;BR /&gt;
Rod</description>
      <pubDate>Fri, 11 Mar 2011 17:30:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-WIth-2-Class-variables/m-p/27476#M6266</guid>
      <dc:creator>RodTennant</dc:creator>
      <dc:date>2011-03-11T17:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE WIth 2 Class variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-WIth-2-Class-variables/m-p/27477#M6267</link>
      <description>Hi:&lt;BR /&gt;
  That is something that TABULATE is not designed to do. This question has come up before and the answer is still the same:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=49759쉟" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=49759쉟&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  Basically, you either create an output dataset with TABULATE and then use other methods (like PROC PRINT) to create a report from the output dataset, or, you switch to PROC REPORT. Except for the KURTOSIS and SKEWNESS and some of the percent statistics, PROC REPORT has the ability to create the same statistics as TABULATE -- and because of the ability to use a COMPUTE block, you can work things out so that the CLASS variable value (would be ORDER or GROUP in REPORT) is repeated on every report row.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 11 Mar 2011 18:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-WIth-2-Class-variables/m-p/27477#M6267</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-03-11T18:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE WIth 2 Class variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-WIth-2-Class-variables/m-p/27478#M6268</link>
      <description>Thanks Cynthia.  I appreciate your help...Rod</description>
      <pubDate>Fri, 11 Mar 2011 19:02:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-WIth-2-Class-variables/m-p/27478#M6268</guid>
      <dc:creator>RodTennant</dc:creator>
      <dc:date>2011-03-11T19:02:46Z</dc:date>
    </item>
  </channel>
</rss>

