<?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: Want **Total** Only in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744889#M233424</link>
    <description>Since you are somewhat familiar with PROC FREQ:&lt;BR /&gt;&lt;BR /&gt;proc freq data = sas_1.importance_long;&lt;BR /&gt;tables indicator;&lt;BR /&gt;run;</description>
    <pubDate>Tue, 01 Jun 2021 08:37:15 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2021-06-01T08:37:15Z</dc:date>
    <item>
      <title>Want **Total** Only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744882#M233420</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods
html5
style=daisy
path="c:\0_SAS_1"
file="Long, Importance.htm";

proc sort data=sas_1.importance_long;
by Indicator;
run;

proc freq data=sas_1.importance_long;
tables Importance;
by Indicator;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please see above code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the tables which result from this Proc Freq, in the final row of each table, in the Cumulative Frequency column, one can find the TOTAL value for the specific BY Variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Presently I am interested in ONLY those TOTAL amounts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a more direct way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Want just the TOTAL." style="width: 966px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59924i914F4FD63C281D9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="TOTAL.png" alt="Want just the TOTAL." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Want just the TOTAL.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above pic, all I want is the Specific Indicator and the 161.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nicholas Kormanik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 07:41:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744882#M233420</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2021-06-01T07:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Want **Total** Only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744883#M233421</link>
      <description>&lt;P&gt;How about:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
  select Indicator, count(1) as total
  from sas_1.importance_long
  group by Indicator
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 08:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744883#M233421</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2021-06-01T08:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Want **Total** Only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744889#M233424</link>
      <description>Since you are somewhat familiar with PROC FREQ:&lt;BR /&gt;&lt;BR /&gt;proc freq data = sas_1.importance_long;&lt;BR /&gt;tables indicator;&lt;BR /&gt;run;</description>
      <pubDate>Tue, 01 Jun 2021 08:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744889#M233424</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2021-06-01T08:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Want **Total** Only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744942#M233448</link>
      <description>If the variable is numeric why not use PROC MEANS and the N (Number of non missing observations) as your statistic?</description>
      <pubDate>Tue, 01 Jun 2021 14:25:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/744942#M233448</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-01T14:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Want **Total** Only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/745638#M233772</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35763"&gt;@yabwon&lt;/a&gt; ,&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt; ,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All three approaches worked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 22:17:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Want-Total-Only/m-p/745638#M233772</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2021-06-03T22:17:38Z</dc:date>
    </item>
  </channel>
</rss>

