<?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 two-way table vertical in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-tabulate-two-way-table-vertical/m-p/254395#M17857</link>
    <description>&lt;P&gt;You can't split these two table completely .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.cars;
 retain dummy ' ' x .;
run;

proc tabulate data=have;
class Type Origin DriveTrain ;
class dummy /missing style={background=yellow cellwidth=1cm};
classlev dummy /style={background=yellow};
var Invoice x;
table Type all,Origin*Invoice*(n mean std) 
      dummy=''*x=''*sum=''*{style={background=yellow}}
      DriveTrain*Invoice*(n mean std)
      /printmiss misstext='  ';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2165i0252016128BC661F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="x.png" title="x.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2016 02:49:55 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-03-04T02:49:55Z</dc:date>
    <item>
      <title>proc tabulate two-way table vertical</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-tabulate-two-way-table-vertical/m-p/254162#M17849</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a way to create output&amp;nbsp;using proc tabulate two-way table vertically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find &lt;STRONG&gt;Sample.xlsx &lt;/STRONG&gt;attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thokozani&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 14:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-tabulate-two-way-table-vertical/m-p/254162#M17849</guid>
      <dc:creator>Thokozani</dc:creator>
      <dc:date>2016-03-03T14:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate two-way table vertical</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-tabulate-two-way-table-vertical/m-p/254188#M17850</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the task Summary Tables you can create something like this. The layout definition would look like&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2160i5107E674074FA2CE/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;It is using sashelp.cars.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And here a code example generated by SAS Enterprise Guide&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC TABULATE
  DATA=SASHELP.CARS
  FORMAT=NLNUM14.
;
  WHERE( Origin IN ('Asia','Europe'));
  VAR Invoice;
  CLASS Type /  ORDER=UNFORMATTED MISSING;
  CLASS Origin /  ORDER=UNFORMATTED MISSING;
  CLASS DriveTrain /  ORDER=UNFORMATTED MISSING;

  TABLE /* Row Dimension */
    Type={LABEL=""} 
      ALL={LABEL="Total (ALL)"},
      /* Column Dimension */
    Origin={LABEL=""}*(
      DriveTrain={LABEL=""}*
      Invoice={LABEL=""}*
      Sum={LABEL=""} 
      ALL={LABEL="Total (ALL)"}*
      Invoice={LABEL=""}*
      Sum={LABEL=""});
    ;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12344iC5601749A9B6D28B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Thu, 03 Mar 2016 15:10:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-tabulate-two-way-table-vertical/m-p/254188#M17850</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-03-03T15:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate two-way table vertical</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-tabulate-two-way-table-vertical/m-p/254395#M17857</link>
      <description>&lt;P&gt;You can't split these two table completely .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.cars;
 retain dummy ' ' x .;
run;

proc tabulate data=have;
class Type Origin DriveTrain ;
class dummy /missing style={background=yellow cellwidth=1cm};
classlev dummy /style={background=yellow};
var Invoice x;
table Type all,Origin*Invoice*(n mean std) 
      dummy=''*x=''*sum=''*{style={background=yellow}}
      DriveTrain*Invoice*(n mean std)
      /printmiss misstext='  ';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2165i0252016128BC661F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="x.png" title="x.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 02:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-tabulate-two-way-table-vertical/m-p/254395#M17857</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-03-04T02:49:55Z</dc:date>
    </item>
  </channel>
</rss>

