<?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: List Data formatting Subtotal in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/List-Data-formatting-Subtotal/m-p/399474#M96764</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT
	DATA=WORK.QUERY_FOR_APPEND_TABLE_0001(FIRSTOBS=1  KEEP="At Risk?"n Origin Destination Units "% OT"n "% &amp;lt;1"n "% &amp;lt;2"n "% &amp;lt;4"n "% &amp;lt;6"n "% &amp;lt;12"n "% &amp;lt;24"n "&amp;lt;48"n)
	OUT=WORK.SORTTempTableSorted
	;
	BY "At Risk?"n;
RUN;
TITLE;
TITLE1 "Report Listing";
FOOTNOTE;
FOOTNOTE1 "Generated by the SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";

PROC PRINT DATA=WORK.SORTTempTableSorted
	NOOBS
	LABEL
	ROWS=PAGE
	;
	VAR "At Risk?"n Origin Destination Units "% OT"n "% &amp;lt;1"n "% &amp;lt;2"n "% &amp;lt;4"n "% &amp;lt;6"n "% &amp;lt;12"n "% &amp;lt;24"n "&amp;lt;48"n;
	BY "At Risk?"n;
	PAGEBY "At Risk?"n;
	SUM Units "% OT"n "% &amp;lt;1"n "% &amp;lt;2"n "% &amp;lt;4"n "% &amp;lt;6"n "% &amp;lt;12"n "% &amp;lt;24"n "&amp;lt;48"n;
	LABEL "At Risk?"n="   ";
RUN;
/* -------------------------------------------------------------------
   End of task code
   ------------------------------------------------------------------- */
RUN; QUIT;
%_eg_conditional_dropds(WORK.SORTTempTableSorted);
TITLE; FOOTNOTE;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 28 Sep 2017 13:00:16 GMT</pubDate>
    <dc:creator>Amber_Nicole94</dc:creator>
    <dc:date>2017-09-28T13:00:16Z</dc:date>
    <item>
      <title>List Data formatting Subtotal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-Data-formatting-Subtotal/m-p/399317#M96710</link>
      <description>&lt;P&gt;I am using the "list data wizard" in SAS EG 7.1 and having some trouble on formatting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I change the output from printing the variable in the "Subtotal Of" to the word "subtotal"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example, I have the variable "At Risk" in the "subtotal of" role. The two values of at risk are "yes" or "no". In the output it is subtotaling these correctly, however instead of saying subtotal next to the values, it says the word "At Risk". I would like to change that to either say "Subtotal" or "Yes Subtotal" / "No Subtotal".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 19:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-Data-formatting-Subtotal/m-p/399317#M96710</guid>
      <dc:creator>Amber_Nicole94</dc:creator>
      <dc:date>2017-09-27T19:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: List Data formatting Subtotal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-Data-formatting-Subtotal/m-p/399341#M96719</link>
      <description>Hi: &lt;BR /&gt;PROC REPORT gives you more control over this than PROC PRINT (List Data Wizard).&lt;BR /&gt;&lt;BR /&gt;  What code have you tried?&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 27 Sep 2017 20:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-Data-formatting-Subtotal/m-p/399341#M96719</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-27T20:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: List Data formatting Subtotal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-Data-formatting-Subtotal/m-p/399474#M96764</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT
	DATA=WORK.QUERY_FOR_APPEND_TABLE_0001(FIRSTOBS=1  KEEP="At Risk?"n Origin Destination Units "% OT"n "% &amp;lt;1"n "% &amp;lt;2"n "% &amp;lt;4"n "% &amp;lt;6"n "% &amp;lt;12"n "% &amp;lt;24"n "&amp;lt;48"n)
	OUT=WORK.SORTTempTableSorted
	;
	BY "At Risk?"n;
RUN;
TITLE;
TITLE1 "Report Listing";
FOOTNOTE;
FOOTNOTE1 "Generated by the SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";

PROC PRINT DATA=WORK.SORTTempTableSorted
	NOOBS
	LABEL
	ROWS=PAGE
	;
	VAR "At Risk?"n Origin Destination Units "% OT"n "% &amp;lt;1"n "% &amp;lt;2"n "% &amp;lt;4"n "% &amp;lt;6"n "% &amp;lt;12"n "% &amp;lt;24"n "&amp;lt;48"n;
	BY "At Risk?"n;
	PAGEBY "At Risk?"n;
	SUM Units "% OT"n "% &amp;lt;1"n "% &amp;lt;2"n "% &amp;lt;4"n "% &amp;lt;6"n "% &amp;lt;12"n "% &amp;lt;24"n "&amp;lt;48"n;
	LABEL "At Risk?"n="   ";
RUN;
/* -------------------------------------------------------------------
   End of task code
   ------------------------------------------------------------------- */
RUN; QUIT;
%_eg_conditional_dropds(WORK.SORTTempTableSorted);
TITLE; FOOTNOTE;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:00:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-Data-formatting-Subtotal/m-p/399474#M96764</guid>
      <dc:creator>Amber_Nicole94</dc:creator>
      <dc:date>2017-09-28T13:00:16Z</dc:date>
    </item>
  </channel>
</rss>

