<?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 SUMMARY in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-SUMMARY/m-p/853002#M37501</link>
    <description>&lt;P&gt;Because when I try to use proc summary for this.........An error pops up........stating&lt;BR /&gt;ERROR: Variable EMAIL_ID in list does not match type prescribed for this list. I know this could be done using proc freq but I have to use proc summary cuz I have some omre functions to apply on the dataset I am working on.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 07:31:46 GMT</pubDate>
    <dc:creator>Kirito1</dc:creator>
    <dc:date>2023-01-10T07:31:46Z</dc:date>
    <item>
      <title>PROC SUMMARY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SUMMARY/m-p/853001#M37500</link>
      <description>&lt;P&gt;I was working on a data where I want to have a summary of the data using proc summary. The sample data as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirito1_0-1673335134975.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79212i42092D1BBD887209/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirito1_0-1673335134975.png" alt="Kirito1_0-1673335134975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now what I want is how many email ids that emp_code has...Something like below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirito1_1-1673335345820.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79213i78730A93FAC24F4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirito1_1-1673335345820.png" alt="Kirito1_1-1673335345820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can someone help how can I achieve this...........Thank you in advance for all the contributors.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SUMMARY/m-p/853001#M37500</guid>
      <dc:creator>Kirito1</dc:creator>
      <dc:date>2023-01-10T07:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SUMMARY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SUMMARY/m-p/853002#M37501</link>
      <description>&lt;P&gt;Because when I try to use proc summary for this.........An error pops up........stating&lt;BR /&gt;ERROR: Variable EMAIL_ID in list does not match type prescribed for this list. I know this could be done using proc freq but I have to use proc summary cuz I have some omre functions to apply on the dataset I am working on.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:31:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SUMMARY/m-p/853002#M37501</guid>
      <dc:creator>Kirito1</dc:creator>
      <dc:date>2023-01-10T07:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SUMMARY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SUMMARY/m-p/853003#M37502</link>
      <description>&lt;P&gt;&lt;EM&gt;Counting&lt;/EM&gt; is done in PROC FREQ:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=have;
tables emp_code;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or, in SQL:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select emp_code, count(*) as freq_email
from have
group by emp_code;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SUMMARY/m-p/853003#M37502</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-10T07:32:16Z</dc:date>
    </item>
  </channel>
</rss>

