<?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 table? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850364#M336076</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TABLE &amp;lt;&amp;lt;page-expression,&amp;gt; row-expression,&amp;gt;
column-expression &amp;lt;/ table-option(s)&amp;gt;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 18:02:33 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2022-12-19T18:02:33Z</dc:date>
    <item>
      <title>Proc Tabulate table?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850171#M336017</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could anyone explain the code below?&amp;nbsp; Thanks much.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=have;&lt;BR /&gt;  class form site;&lt;BR /&gt;  table form all, site*n='No. of flags'*f=5. all*f=5.;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2022 22:38:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850171#M336017</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2022-12-16T22:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate table?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850172#M336018</link>
      <description>&lt;P&gt;Mainly, I don't understand is table command part.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;table form all, site*n='No. of flags'*f=5. all*f=5.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2022 22:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850172#M336018</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2022-12-16T22:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate table?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850173#M336019</link>
      <description>&lt;P&gt;There is one comma there.&amp;nbsp; So the first part is the rows definition and the second part the columns definition.&lt;/P&gt;
&lt;P&gt;For the rows you are saying make a row for each distinct value of FORM and a separate row for all of the data.&lt;/P&gt;
&lt;P&gt;For the columns part you are saying make a column for each value of SITE and a separate column for all of the data.&lt;/P&gt;
&lt;P&gt;Under the site columns you want to show the number of observations, you want the column header to be the given string and you want the counts to be displayed using the 5. format.&lt;/P&gt;
&lt;P&gt;For the ALL column you also want the count (the default statistic) and you also want it displayed using 5 places.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might just be easier to use PROC FREQ instead.&amp;nbsp; You can add the options the remove the percentages and end you with the same thing.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=sashelp.class;
  class sex age;
  table age all,sex all;
run;

proc freq data=sashelp.class;
  tables age*sex /nopercent norow nocol ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2022 22:54:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850173#M336019</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-12-16T22:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate table?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850361#M336073</link>
      <description>what's 5. format?&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Dec 2022 17:56:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850361#M336073</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2022-12-19T17:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate table?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850362#M336074</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;what's 5. format?&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/leforinforref/n1n7bmvs1brl23n1dj9cbzau39df.htm" target="_self"&gt;normal numeric format&lt;/A&gt; with a width of 5 characters.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 17:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850362#M336074</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-12-19T17:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate table?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850363#M336075</link>
      <description>Make sense, thanks much!</description>
      <pubDate>Mon, 19 Dec 2022 17:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850363#M336075</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2022-12-19T17:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate table?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850364#M336076</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TABLE &amp;lt;&amp;lt;page-expression,&amp;gt; row-expression,&amp;gt;
column-expression &amp;lt;/ table-option(s)&amp;gt;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 18:02:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-table/m-p/850364#M336076</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2022-12-19T18:02:33Z</dc:date>
    </item>
  </channel>
</rss>

