<?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 All Label Not In Out Data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-All-Label-Not-In-Out-Data/m-p/77149#M22358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'Total' is only a value substitue for the class variables.Your original data does not have a value so is missing in the data set.&lt;/P&gt;&lt;P&gt;IF you use a format for the class variables that assigns the text 'Total' for missing values it will appear in the data due to the format. Which should export.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 15:34:05 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-09-10T15:34:05Z</dc:date>
    <item>
      <title>Proc Tabulate All Label Not In Out Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-All-Label-Not-In-Out-Data/m-p/77148#M22357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me figure out if I'm missing a subcommand or using the 'all' feature in proc tabulate inapproriately?&amp;nbsp; I'm creating a table summarizing rates across interactions between a number of student demographic variables.&amp;nbsp; I'm using the 'all' feature to get the subtotals for each demographic feature, which works fine in the SAS output (HTML or classic).&amp;nbsp; But, i'm using the out= feature to output the data to then export to Excel.&amp;nbsp; However, in doing so, the label i apply to 'all' does not come along for the ride, the cells are left blank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's obviously not a huge deal to use a data step to populate these cells, but it seems like this is something that's easily avoidable by bringing those labels along.&amp;nbsp; The code i'm using appears as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=cgraudit order=data out=summary;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class school_id school_year school_name sex ethnic ed lep ec;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var grad_flag;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; format grad_flag pmult.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; table school_name=' '*(sex=' '(all={label='Total'}))*(ethnic=' '(all={label='Total'}))*(ed=' '(all={label='Total'}))*(lep=' '(all={label='Total'}))*(ec=' '(all={label='Total'})),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; school_year=' '*grad_flag=' '*(mean='%'*f=pmult.)//*misstext='Total'*/;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 11:41:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-All-Label-Not-In-Out-Data/m-p/77148#M22357</guid>
      <dc:creator>jsberger</dc:creator>
      <dc:date>2013-09-10T11:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate All Label Not In Out Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-All-Label-Not-In-Out-Data/m-p/77149#M22358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'Total' is only a value substitue for the class variables.Your original data does not have a value so is missing in the data set.&lt;/P&gt;&lt;P&gt;IF you use a format for the class variables that assigns the text 'Total' for missing values it will appear in the data due to the format. Which should export.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 15:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-All-Label-Not-In-Out-Data/m-p/77149#M22358</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-09-10T15:34:05Z</dc:date>
    </item>
  </channel>
</rss>

