<?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 REPORT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/547476#M151720</link>
    <description>You could, by now, have read the documentation of proc report and find a solution. If you need sub-totals, you have to change "display" to "group" and use the rbreak statement. See the docs for an example.</description>
    <pubDate>Sun, 31 Mar 2019 11:01:24 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2019-03-31T11:01:24Z</dc:date>
    <item>
      <title>PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546204#M151200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need someone to help me with the following....&lt;/P&gt;&lt;P&gt;Today I am using the following Syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods xml tagset=ExcelXP130&lt;BR /&gt;options(absolute_column_width = '15,15,15,15,15,15'&lt;BR /&gt;sheet_interval='None');&lt;/P&gt;&lt;P&gt;PROC REPORT DATA=if_unite_out_final&lt;BR /&gt;headline headskip norkeys missing nowindows;&lt;BR /&gt;COLUMN ("Final Report" category AMOUNT_ZERO_2 AMLA_ALL_2 AMLA_ALL_HASHKAL_2 ratio_aml_2) ;&lt;BR /&gt;DEFINE MON / order 'Date' format = mmyys7. ;&lt;BR /&gt;DEFINE category / display ' Category' format = cat_card.;&lt;BR /&gt;DEFINE AMOUNT_ZERO_2 / analysis 'Total Sum' format = COMMA20.2 style(column)={tagattr="format:###,##0.00" just=l};&lt;BR /&gt;DEFINE AMLA_ALL_2 / analysis 'Part' format = COMMA20.2 style(column)={tagattr="format:###,##0.00" just=l};&lt;BR /&gt;DEFINE AMLA_ALL_HASHKAL_2 / analysis 'Total include all' format = COMMA20.2 style(column)={tagattr="format:###,##0.00" just=l};&lt;BR /&gt;BREAK AFTER mon / SUMMARIZE UL OL style=[font_weight=bold];&lt;BR /&gt;compute after;&lt;BR /&gt;ORG = 999;&lt;BR /&gt;endcomp;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the same output with the only difference that the field "MON" will be shown in each line. When I change "order" to "display" it does not give me the ability to summerize in the "MON" (month) level.&lt;/P&gt;&lt;P&gt;Anyone knows what can I do?&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:30:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546204#M151200</guid>
      <dc:creator>adig</dc:creator>
      <dc:date>2019-03-26T15:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546222#M151207</link>
      <description>&lt;P&gt;Try making another variable with the values of MON. Place it first in the Columns statement.&lt;/P&gt;
&lt;P&gt;In the define make the new variable the ORDER variable with the option NOPRINT.&lt;/P&gt;
&lt;P&gt;Make MON a display variable and change the Break After to use the new variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a short example using data from the SASHELP.CLASS data set. I am using SEX in the role of your MON variable.&lt;/P&gt;
&lt;PRE&gt;data work.class;
   set sashelp.class;
   og = sex;
run;


proc report data=work.class;
   columns og sex age height;
   define og /order noprint;
   define sex / display ;
   define age/ display;
   define height/analysis;
   break after og/summarize;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Mar 2019 16:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546222#M151207</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-26T16:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546480#M151318</link>
      <description>&lt;P&gt;Great! Thank you!&lt;/P&gt;&lt;P&gt;I also need that the line of the summary will also include the value of the MON (in your example - the value of the sex 'F'/'M').&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 13:04:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546480#M151318</guid>
      <dc:creator>adig</dc:creator>
      <dc:date>2019-03-27T13:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546784#M151454</link>
      <description>someone can help ?</description>
      <pubDate>Thu, 28 Mar 2019 04:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546784#M151454</guid>
      <dc:creator>adig</dc:creator>
      <dc:date>2019-03-28T04:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546836#M151477</link>
      <description>&lt;P&gt;Not sure, if i understood what you need. Do you need a list of all contributing class-values in the summary line?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 09:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546836#M151477</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-03-28T09:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546853#M151485</link>
      <description>&lt;P&gt;&amp;nbsp;Look at the example of sashelp.class.&lt;/P&gt;&lt;P&gt;the code "break after og/summarize;" gives me the summary of the sex.&lt;/P&gt;&lt;P&gt;Yet, in the output, in the line of the summary it is not written whether the summary is for 'F' of 'M'. only the sum is written.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need that also the rellevant sex('F'/'M') will also appear in the line of the summary...&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 11:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/546853#M151485</guid>
      <dc:creator>adig</dc:creator>
      <dc:date>2019-03-28T11:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/547468#M151715</link>
      <description>no one..?</description>
      <pubDate>Sun, 31 Mar 2019 05:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/547468#M151715</guid>
      <dc:creator>adig</dc:creator>
      <dc:date>2019-03-31T05:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/547476#M151720</link>
      <description>You could, by now, have read the documentation of proc report and find a solution. If you need sub-totals, you have to change "display" to "group" and use the rbreak statement. See the docs for an example.</description>
      <pubDate>Sun, 31 Mar 2019 11:01:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT/m-p/547476#M151720</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-03-31T11:01:24Z</dc:date>
    </item>
  </channel>
</rss>

