<?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 means help in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-means-help/m-p/285774#M59439</link>
    <description>&lt;P&gt;Add this option to the PROC MEANS statement: &amp;nbsp;NWAY&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2016 07:57:38 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2016-07-20T07:57:38Z</dc:date>
    <item>
      <title>proc means help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-means-help/m-p/285762#M59437</link>
      <description>&lt;P&gt;I am using enterprise guide 9.3. &amp;nbsp;I have a dataset that has mutiple rows for a customer. &amp;nbsp;I want to look at how many contacts a customer has a well as payments over the course of a month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using a proc means to summarize the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc means data = gregory n;&lt;/P&gt;
&lt;P&gt;class primekey agency employeecode;&lt;/P&gt;
&lt;P&gt;var count;&lt;/P&gt;
&lt;P&gt;where blank is eq to "contacts";&lt;/P&gt;
&lt;P&gt;output out = contacts n;&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc means data = gregory n;&lt;/P&gt;
&lt;P&gt;class primekey agency employeecode;&lt;/P&gt;
&lt;P&gt;var count;&lt;/P&gt;
&lt;P&gt;where blank is eq to "promise";&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;output out = promises n;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want to do is merge the two output datasets by primekey to have a result:&lt;/P&gt;
&lt;P&gt;primekey &amp;nbsp; &amp;nbsp; &amp;nbsp;# contacts &amp;nbsp; &amp;nbsp; &amp;nbsp; #promises &amp;nbsp;agency employeecode &amp;nbsp; etc.&lt;/P&gt;
&lt;P&gt;abc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem I am having is that I get _type_ and _freq_ variables, which I can drop using (drop= _type_ &amp;nbsp;_freq_),&lt;/P&gt;
&lt;P&gt;however I get summaries for multiple _types_. &amp;nbsp;I only want to keep the one where all the variables are listed out. &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 06:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-means-help/m-p/285762#M59437</guid>
      <dc:creator>pangea17</dc:creator>
      <dc:date>2016-07-20T06:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc means help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-means-help/m-p/285774#M59439</link>
      <description>&lt;P&gt;Add this option to the PROC MEANS statement: &amp;nbsp;NWAY&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 07:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-means-help/m-p/285774#M59439</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-07-20T07:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc means help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-means-help/m-p/285850#M59442</link>
      <description>&lt;P&gt;Thanks for the assistance!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-means-help/m-p/285850#M59442</guid>
      <dc:creator>pangea17</dc:creator>
      <dc:date>2016-07-20T15:35:57Z</dc:date>
    </item>
  </channel>
</rss>

