<?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: Sum in proc print in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sum-in-proc-print/m-p/471850#M120893</link>
    <description>&lt;P&gt;Bc I want to learn the method to assign Total to be under Study.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure there is a way&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2018 19:28:47 GMT</pubDate>
    <dc:creator>mona4u</dc:creator>
    <dc:date>2018-06-20T19:28:47Z</dc:date>
    <item>
      <title>Sum in proc print</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sum-in-proc-print/m-p/469925#M120261</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this issue with proc print. I'm trying to have&amp;nbsp;the value "Total" in the last cell of study_name column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the&amp;nbsp; grandtotal_label='Total' option but it shows the value in the obs column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to use proc report&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data have;&lt;BR /&gt;input study_name $ June July August;&lt;BR /&gt;datalines;&lt;BR /&gt;A 20 16 39&lt;BR /&gt;B 18 18 6&lt;BR /&gt;C 19 1 5&lt;BR /&gt;D 87 65 115&lt;BR /&gt;E 63 55 62&lt;BR /&gt;F 81 104 87&lt;BR /&gt;G 73 19 49&lt;BR /&gt;H 189 69 79&lt;BR /&gt;I 28 6 8&lt;BR /&gt;J 87 83 52&lt;BR /&gt;K 0 0 0&lt;BR /&gt;L 0 0 0&lt;BR /&gt;M 4 1 1&lt;BR /&gt;N 1 0 2&lt;BR /&gt;O 212 159 304&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;proc print data=have grandtotal_label='Total' label ; &lt;BR /&gt;sum June July August; &lt;BR /&gt;label study_name="Study";&lt;BR /&gt;run; &lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1234.PNG" style="width: 376px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21181iC42119126491FDFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1234.PNG" alt="Capture1234.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 13:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sum-in-proc-print/m-p/469925#M120261</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2018-06-13T13:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in proc print</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sum-in-proc-print/m-p/469931#M120262</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;I don't want to use proc report " - why not?&amp;nbsp; Proc report does this, use it.&amp;nbsp; Its much like saying I only want to use a mouse to type this letter, you can do it, by why?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Anyways:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002262174.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002262174.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 13:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sum-in-proc-print/m-p/469931#M120262</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-06-13T13:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in proc print</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sum-in-proc-print/m-p/471850#M120893</link>
      <description>&lt;P&gt;Bc I want to learn the method to assign Total to be under Study.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure there is a way&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 19:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sum-in-proc-print/m-p/471850#M120893</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2018-06-20T19:28:47Z</dc:date>
    </item>
  </channel>
</rss>

