<?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 in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Tabulate/m-p/237592#M14788</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Didn't realize this was a partial duplicate post. And one of the reasons we recommend NOT posting duplicates. You left out the required appearance in this thead.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Also, frequencies represent counts and your previous post shows that you want %.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You may need to be more explicit about what you mean by "&amp;nbsp;want par6, par7 and part8 to be followed by part1 " as there is no variable indicated to be Part1. The order of your variables in a report procedure will likely do what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basic approach with many of the report or summarization procedures is to SUM or Mean (for percent) the variable of interest.&lt;/P&gt;
&lt;P&gt;I'm not going to do all of the manipulation to get something into the body of table that doesn't exist in&amp;nbsp;your data the &amp;nbsp;CC and EL parts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc tabulate data=have;&lt;/P&gt;
&lt;P&gt;class type sub_type;&lt;/P&gt;
&lt;P&gt;var par: ;&lt;/P&gt;
&lt;P&gt;table par1_cc par2_cc,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type * subtype * mean='%';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2015 15:06:29 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-12-03T15:06:29Z</dc:date>
    <item>
      <title>Proc Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Tabulate/m-p/237520#M14781</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Iam using Proc Report for creating a table. I have created a small dataset. i have 4 levels of a variable (L,P,S,W) and then sub_types within each level&lt;/P&gt;&lt;P&gt;O,V,U&lt;/P&gt;&lt;P&gt;the desired output is attached. Iam trying to find frequencies of only the 1's, Iam not interested in the 0's&lt;/P&gt;&lt;P&gt;Also, is there a way to output the data in a desired fashion, for eg.,&lt;/P&gt;&lt;P&gt;i want par6, par7 and part8 to be followed by part1 etc.,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 03:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Tabulate/m-p/237520#M14781</guid>
      <dc:creator>yadalsa</dc:creator>
      <dc:date>2015-12-03T03:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Tabulate/m-p/237592#M14788</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Didn't realize this was a partial duplicate post. And one of the reasons we recommend NOT posting duplicates. You left out the required appearance in this thead.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Also, frequencies represent counts and your previous post shows that you want %.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You may need to be more explicit about what you mean by "&amp;nbsp;want par6, par7 and part8 to be followed by part1 " as there is no variable indicated to be Part1. The order of your variables in a report procedure will likely do what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basic approach with many of the report or summarization procedures is to SUM or Mean (for percent) the variable of interest.&lt;/P&gt;
&lt;P&gt;I'm not going to do all of the manipulation to get something into the body of table that doesn't exist in&amp;nbsp;your data the &amp;nbsp;CC and EL parts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc tabulate data=have;&lt;/P&gt;
&lt;P&gt;class type sub_type;&lt;/P&gt;
&lt;P&gt;var par: ;&lt;/P&gt;
&lt;P&gt;table par1_cc par2_cc,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type * subtype * mean='%';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 15:06:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Tabulate/m-p/237592#M14788</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-12-03T15:06:29Z</dc:date>
    </item>
  </channel>
</rss>

