<?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 Report in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552504#M9201</link>
    <description>&lt;P&gt;It doesn't work. If I remove height from the column statement then Mean of Height&amp;nbsp; is not displayed under the column M and F. Only the observation count is displayed. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2019 17:35:48 GMT</pubDate>
    <dc:creator>DLROW</dc:creator>
    <dc:date>2019-04-19T17:35:48Z</dc:date>
    <item>
      <title>Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552497#M9199</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc sort data=sashelp.class out=cl1;&lt;BR /&gt;by age;&lt;BR /&gt;run;&lt;BR /&gt;data class;&lt;BR /&gt;set cl1;&lt;BR /&gt;by age;&lt;BR /&gt;if first.age then cnt+1;&lt;BR /&gt;run;&lt;BR /&gt;Proc report data=class nowd;&lt;BR /&gt;column cnt age sex, height;&lt;BR /&gt;define cnt / group;&lt;BR /&gt;define age / group;&lt;BR /&gt;define sex / across;&lt;BR /&gt;define height/analysis mean;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;When the above code is run I get the column names as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sex&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; M&lt;/P&gt;&lt;P&gt;Cnt&amp;nbsp; Age&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Height&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Height&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the columns to be displayed as Cnt, Age, F, M . Please let me know how to&amp;nbsp; remove sex and Height from the layout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 17:20:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552497#M9199</guid>
      <dc:creator>DLROW</dc:creator>
      <dc:date>2019-04-19T17:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552503#M9200</link>
      <description>&lt;P&gt;remove height from you column statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sort data=sashelp.class out=cl1;
by age;
run;
data class;
set cl1;
by age;
if first.age then cnt+1;
run;
Proc report data=class nowd;
column cnt age sex;*, height;
define cnt / group;
define age / group;
define sex / across;
define height/analysis mean;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 17:32:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552503#M9200</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-19T17:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552504#M9201</link>
      <description>&lt;P&gt;It doesn't work. If I remove height from the column statement then Mean of Height&amp;nbsp; is not displayed under the column M and F. Only the observation count is displayed. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 17:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552504#M9201</guid>
      <dc:creator>DLROW</dc:creator>
      <dc:date>2019-04-19T17:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552506#M9202</link>
      <description>&lt;P&gt;See if this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-blank-header-in-PROC-REPORT/m-p/525553#M22138" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-blank-header-in-PROC-REPORT/m-p/525553#M22138&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 17:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552506#M9202</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-19T17:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552513#M9203</link>
      <description>&lt;P&gt;Thank you, It works.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 18:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/552513#M9203</guid>
      <dc:creator>DLROW</dc:creator>
      <dc:date>2019-04-19T18:20:00Z</dc:date>
    </item>
  </channel>
</rss>

