<?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: Put total count on proc report in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Put-total-count-on-proc-report/m-p/724775#M28039</link>
    <description>&lt;P&gt;You can find the documentation of proc report &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=p0bqogcics9o4xn17yvt2qjbgdpi.htm" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=p1o6lvfc7oqzwhn1nehvw4htp3j5.htm" target="_self"&gt;rbreak&lt;/A&gt; statement is used to create summary lines.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 08:11:13 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2021-03-09T08:11:13Z</dc:date>
    <item>
      <title>Put total count on proc report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Put-total-count-on-proc-report/m-p/724501#M28027</link>
      <description>&lt;P&gt;Hi I have this code for a proc report;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc report data=data style(header) = {background = white color = black};
	    columns year week COUNT ;
	    define year/  group style(column)= [background = white font_size=10pt font_weight = bold] style(header) = {background = white frame=void};
		compute after year / style={bordertopcolor=black borderbottomcolor=black height=1px cellpadding=0};
        line ' '; 
        endcomp;
	    define week/  group style(column)= [background = white font_size=8pt] style(header) = {background = white frame=void} ;
		define COUNT/  group style(column)= [background = white font_size=8pt] style(header) = {background = white frame=void};	run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This give me this kind of table (without the total):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;Year&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;week&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;count&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;2020&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;2&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;3&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;4&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;2021&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="30px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD height="30px"&gt;2&lt;/TD&gt;
&lt;TD height="30px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="30px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD height="30px"&gt;3&lt;/TD&gt;
&lt;TD height="30px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="30px"&gt;&lt;STRONG&gt;&lt;EM&gt;Total&lt;/EM&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD height="30px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD height="30px"&gt;&lt;STRONG&gt;&lt;EM&gt;12&lt;/EM&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need a total at the end of the table (as shown in the table in bold) - how can I add that? I export to Excel &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 13:52:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Put-total-count-on-proc-report/m-p/724501#M28027</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-03-08T13:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Put total count on proc report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Put-total-count-on-proc-report/m-p/724775#M28039</link>
      <description>&lt;P&gt;You can find the documentation of proc report &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=p0bqogcics9o4xn17yvt2qjbgdpi.htm" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=p1o6lvfc7oqzwhn1nehvw4htp3j5.htm" target="_self"&gt;rbreak&lt;/A&gt; statement is used to create summary lines.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 08:11:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Put-total-count-on-proc-report/m-p/724775#M28039</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-03-09T08:11:13Z</dc:date>
    </item>
  </channel>
</rss>

