<?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  .='Total' in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565153#M158628</link>
    <description>&lt;P&gt;Please try the below code, also i removed the mlf option used in proc summary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format library=work;
value OverLapFmt (multilabel)
low - 60   = 'Until 60'
55 - 70    = '55--70'
65 - high  = '65 and Up'
Other='Total'
;
run;
proc summary data=sashelp.class sum ;
   class height ;
   var weight;
   format height OverLapFmt.;
   output out=want sum=sum;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 11 Jun 2019 08:55:14 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2019-06-11T08:55:14Z</dc:date>
    <item>
      <title>proc summary  .='Total'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565143#M158620</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using proc summary with proc format.&lt;/P&gt;
&lt;P&gt;Why&amp;nbsp;.='Total' is not working?&lt;/P&gt;
&lt;P&gt;In the output I want to get&amp;nbsp; Total row with value 'Total'&amp;nbsp; but I get it with null value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format library=work;
value OverLapFmt (multilabel)
low - 60   = 'Until 60'
55 - 70    = '55--70'
65 - high  = '65 and Up'
.='Total'
;
run;
proc summary data=sashelp.class sum ;
   class height / mlf;
   var weight;
   format height OverLapFmt.;
   output out=want sum=sum;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 08:21:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565143#M158620</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-06-11T08:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary  .='Total'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565152#M158627</link>
      <description>&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format library=work;
value OverLapFmt (multilabel)
low - 60   = 'Until 60'
55 - 70    = '55--70'
65 - high  = '65 and Up'
Other='Total'
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jun 2019 08:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565152#M158627</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-06-11T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary  .='Total'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565153#M158628</link>
      <description>&lt;P&gt;Please try the below code, also i removed the mlf option used in proc summary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format library=work;
value OverLapFmt (multilabel)
low - 60   = 'Until 60'
55 - 70    = '55--70'
65 - high  = '65 and Up'
Other='Total'
;
run;
proc summary data=sashelp.class sum ;
   class height ;
   var weight;
   format height OverLapFmt.;
   output out=want sum=sum;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jun 2019 08:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565153#M158628</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-06-11T08:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary  .='Total'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565241#M158672</link>
      <description>&lt;P&gt;Are you trying to include missing values of the CLASS variable in your analysis?&lt;/P&gt;
&lt;P&gt;If so you need add the MISSING option on either the PROC statement or the CLASS statement.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 13:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565241#M158672</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-11T13:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary  .='Total'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565289#M158690</link>
      <description>&lt;P&gt;Perhaps this was what you intended:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
value OverLapFmt (multilabel )
low - 60   = 'Until 60'
55 - 70    = '55--70'
65 - high  = '65 and Up'
low-high='Total'
;
run;
proc summary data=sashelp.class sum nway;
   class height / mlf;
   var weight;
   format height OverLapFmt.;
   output out=want sum=sum;
run;
&lt;/PRE&gt;
&lt;P&gt;Note that you are going to have a lot of fun trying to get specific order of the formatted values.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary-Total/m-p/565289#M158690</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-11T15:17:27Z</dc:date>
    </item>
  </channel>
</rss>

