<?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: Trouble getting report totals broken out in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149683#M11558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;data have;
infile cards expandtabs;
input Market_name &amp;amp; $40.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Channel_Summary&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp; $20. total_accts_m1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;;
cards;
Greater Philadelphia&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
New England South&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Western/Central Pennsylvania&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
_Incomplete Information&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch Intranet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1
_Incomplete Information&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2
;
run;
ods listing close;
ods pdf file='x.pdf' style=sasweb;
proc report data=have nowd ;
columns Market_name Channel_Summary total_accts_m1;
define Market_name/order;
define &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Channel_Summary/display;
define total_accts_m1/display;
compute total_accts_m1;
if Channel_Summary='Touchpoint' then c_sum+total_accts_m1;
 else if Channel_Summary='Branch Intranet' then b_sum+total_accts_m1;
endcomp;
compute after;
line 'GRAND TOTAL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TOUCHPOINT'&amp;nbsp; c_sum;
line 'GRAND TOTAL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BRANCH INTRANET'&amp;nbsp; b_sum ;
endcomp;
run;
ods pdf close;
ods listing;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 13:04:28 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2014-09-18T13:04:28Z</dc:date>
    <item>
      <title>Trouble getting report totals broken out</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149682#M11557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem getting report grand totals to break out the way I want it.&amp;nbsp; From what I have been reading, I need to create dummy breaks and dummy variables.&amp;nbsp; It seems to me there should be an easier way but I don't know how.&amp;nbsp; Has anyone ever done this? and how did you do it?&amp;nbsp; I also can do a union in the dataset and just display but it seems proc report should be able to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="492"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="200"&gt;Market_name&lt;/TD&gt;&lt;TD width="125"&gt;Channel_Summary&lt;/TD&gt;&lt;TD width="100"&gt;total_accts_m1&lt;/TD&gt;&lt;TD width="32"&gt;brkt&lt;/TD&gt;&lt;TD width="35"&gt;brkb&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Greater Philadelphia&lt;/TD&gt;&lt;TD class="xl63"&gt;Touchpoint&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD class="xl63"&gt;t&lt;/TD&gt;&lt;TD class="xl63"&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;New England South&lt;/TD&gt;&lt;TD class="xl63"&gt;Touchpoint&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD class="xl63"&gt;t&lt;/TD&gt;&lt;TD class="xl63"&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Western/Central Pennsylvania&lt;/TD&gt;&lt;TD class="xl63"&gt;Touchpoint&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;t&lt;/TD&gt;&lt;TD class="xl63"&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl63"&gt;Branch Intranet&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;t&lt;/TD&gt;&lt;TD class="xl63"&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl63"&gt;Touchpoint&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD class="xl63"&gt;t&lt;/TD&gt;&lt;TD class="xl63"&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the output to look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 662px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="21" width="288"&gt;Market Name&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="288"&gt;Channel&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="86"&gt;Accounts&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;Greater Philadelphia&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;New England South&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;Western/Central Pennsylvania&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Branch Intranet&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="24" style="border-top: medium none;" width="288"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="24" style="border-top: medium none;" width="288"&gt;GRAND TOTAL &lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;TOUCHPOINT&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="86"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="21" style="border-top: medium none;" width="288"&gt;GRAND TOTAL &lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;BRANCH INTRANET&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="86"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ODS tagsets.excelxp &lt;/P&gt;&lt;P&gt;file = "\\wapprib00001040\Prod\output\excel\TESTRPT.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp; style = Barrettsblue &lt;/P&gt;&lt;P&gt;&amp;nbsp; options (&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sheet_label = ''&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wraptext='yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*absolute_column_width='20'*/);&lt;/P&gt;&lt;P&gt;/**************************************************************&lt;/P&gt;&lt;P&gt;Output Market Trend&lt;/P&gt;&lt;P&gt;****************************************************************/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp&amp;nbsp;&amp;nbsp; options(sheet_name='Market Trend'&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data = market_trend_tmp1&amp;nbsp; headskip split = '*' missing wrap ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; column market_name channel_summary brkt brkb ("July 2014"&amp;nbsp; total_accts_m1 total_accts_m1=nsal_m1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; define market_name / group width=30&amp;nbsp; 'Market Name' format=$30. style(column)={cellwidth=3.0in};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; define channel_summary / group width=30&amp;nbsp; 'Channel' format=$30. style(column)={cellwidth=3.0in};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; define total_accts_m1 / analysis&amp;nbsp; 'Accounts'&amp;nbsp; center style(column)={cellwidth=0.9in } ;&lt;/P&gt;&lt;P&gt; define nsal_m1 / n f=comma8. 'Count' ;&lt;/P&gt;&lt;P&gt; define brkt / group noprint;&lt;/P&gt;&lt;P&gt; define brkb / group noprint;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break after brkt / summarize;&lt;/P&gt;&lt;P&gt;break after brkb / summarize;&lt;/P&gt;&lt;P&gt; rbreak after&amp;nbsp; / summarize&amp;nbsp; style(summary) = {font_weight=bold font_size=11pt }&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; compute nsal_m1;&lt;/P&gt;&lt;P&gt; if channel_summary = 'Touchpoint' then tcnt + nsal_m1;&lt;/P&gt;&lt;P&gt; else if channel_summary = 'Branch Intranet' then bcnt + nsal_m1;&lt;/P&gt;&lt;P&gt; endcomp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; compute after brkt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; total_accts_m1.sum = tcnt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; channel_summary = 'Number of Touchpoint';&lt;/P&gt;&lt;P&gt; endcomp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; compute after brkb;&lt;/P&gt;&lt;P&gt;&amp;nbsp; total_accts_m1.sum = bcnt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; channel_summary = 'Number of Branch Intranet';&lt;/P&gt;&lt;P&gt; endcomp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; compute after ;&lt;/P&gt;&lt;P&gt; channel_summary = 'Total All';&lt;/P&gt;&lt;P&gt; endcomp;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt; ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified my code (the above) to try to do these dummy breaks and variables but it gives the below result which doesnt make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 726px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" colspan="2" height="21" style="border-right: white 1pt solid;" width="576"&gt; &lt;/TD&gt;&lt;TD class="xl65" colspan="2" style="border-left: medium none; border-right: white 1pt solid;" width="150"&gt;July 2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="21" style="border-top: medium none;" width="288"&gt;Market Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="288"&gt;Channel&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="86"&gt;Accounts&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;Greater Philadelphia&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;2&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;Greater Philadelphia&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Branc&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;0&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;Greater Philadelphia&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Touch&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;3&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;New England South&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;7&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;New England South&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Branc&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;0&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;New England South&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Touch&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;Western/Central Pennsylvania&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;Western/Central Pennsylvania&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Branc&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;0&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;Western/Central Pennsylvania&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Touch&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;9&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="24" style="border-top: medium none;" width="288"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Branch Intranet&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Branc&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;2&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Touch&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;9&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="24" style="border-top: medium none;" width="288"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="86"&gt;2&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Branc&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;3&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="24" style="border-top: medium none;" width="288"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="288"&gt;Number of Touch&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;" width="86"&gt;12&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl73" height="24" style="border-top: medium none;" width="288"&gt; &lt;/TD&gt;&lt;TD class="xl74" style="border-left: medium none; border-top: medium none;" width="288"&gt;Total All&lt;/TD&gt;&lt;TD class="xl73" style="border-left: medium none; border-top: medium none;" width="86"&gt;13&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Laurie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 21:49:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149682#M11557</guid>
      <dc:creator>Laurie</dc:creator>
      <dc:date>2014-09-17T21:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting report totals broken out</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149683#M11558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;data have;
infile cards expandtabs;
input Market_name &amp;amp; $40.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Channel_Summary&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp; $20. total_accts_m1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;;
cards;
Greater Philadelphia&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
New England South&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Western/Central Pennsylvania&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
_Incomplete Information&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch Intranet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1
_Incomplete Information&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Touchpoint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2
;
run;
ods listing close;
ods pdf file='x.pdf' style=sasweb;
proc report data=have nowd ;
columns Market_name Channel_Summary total_accts_m1;
define Market_name/order;
define &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Channel_Summary/display;
define total_accts_m1/display;
compute total_accts_m1;
if Channel_Summary='Touchpoint' then c_sum+total_accts_m1;
 else if Channel_Summary='Branch Intranet' then b_sum+total_accts_m1;
endcomp;
compute after;
line 'GRAND TOTAL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TOUCHPOINT'&amp;nbsp; c_sum;
line 'GRAND TOTAL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BRANCH INTRANET'&amp;nbsp; b_sum ;
endcomp;
run;
ods pdf close;
ods listing;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 13:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149683#M11558</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-09-18T13:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting report totals broken out</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149684#M11559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ksharp!!!&amp;nbsp; I tried this and it works.... the only problem is that I have 5 more statistics for each month that I will need to total and need the totals at the bottom of the proper column.&amp;nbsp; The line is one big line in excel and hard to control where the totals are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plus I have more months and statistics to show like below.&amp;nbsp; Also other sheets have another breakout that needs a subtotal by channel_sumamry too.&amp;nbsp; Do you know how to do it so that if there are multiple months it would do the total breakout and put it in the correct column?&amp;nbsp; Below this report I put the code (which is arrays) that generate multiple months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 1282px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" colspan="2" height="21" style="border-right: white 1pt solid;" width="576"&gt; &lt;/TD&gt;&lt;TD class="xl65" colspan="5" style="border-left: medium none; border-right: white 1pt solid;" width="386"&gt;Jul 2014&lt;/TD&gt;&lt;TD class="xl74" colspan="5" style="border-left: medium none; border-right: white 1pt solid;" width="320"&gt;Aug-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="21" style="border-top: medium none;" width="288"&gt;Market Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="288"&gt;Channel&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="86"&gt;total_accts_m1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="108"&gt;esign_m1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;wetsign_m1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;lt_m1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;gt_m1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;total_accts_m2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;esign_m2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;wetsign_m2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;lt_m2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;" width="64"&gt;gt_m1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="24" style="border-top: medium none;" width="288"&gt;Greater Philadelphia&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="86"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="108"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="24" style="border-top: medium none;" width="288"&gt;New England South&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="86"&gt;7&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="108"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;6&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;7&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;6&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="24" style="border-top: medium none;" width="288"&gt;Western/Central Pennsylvania&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="86"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="108"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="24" style="border-top: medium none;" width="288"&gt;_Incomplete Information&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="288"&gt;Branch Intranet&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="86"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="108"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="24" style="border-top: medium none;" width="288"&gt; &lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;" width="288"&gt;Touchpoint&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="86"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="108"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl70" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="24" width="288"&gt; &lt;/TD&gt;&lt;TD class="xl72" width="288"&gt;Grand Total Touchpoint&lt;/TD&gt;&lt;TD class="xl71" width="86"&gt;12&lt;/TD&gt;&lt;TD class="xl73" width="108"&gt;1&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;11&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;7&lt;/TD&gt;&lt;TD class="xl71" width="64"&gt;12&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;11&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="24" width="288"&gt; &lt;/TD&gt;&lt;TD class="xl72" width="288"&gt;Grand Total Branch Intranet&lt;/TD&gt;&lt;TD class="xl71" width="86"&gt;1&lt;/TD&gt;&lt;TD class="xl73" width="108"&gt;1&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl71" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl73" width="64"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ods listing close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ODS tagsets.excelxp &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;file = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;"&amp;amp;rootdir.\output\excel\test.xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp; style = Barrettsblue &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp; options (&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sheet_label = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wraptext=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'yes'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt;/*absolute_column_width='20'*/&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt;/**************************************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt;Output Market Trend&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt;****************************************************************/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ods tagsets.excelxp&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;proc report data = have_some&amp;nbsp; headskip split = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'*'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; missing wrap ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; column market_name channel_summary&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%to&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &amp;amp;num_months;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;"&amp;amp;&amp;amp;label&amp;amp;i"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp; total_accts_m&amp;amp;i esign_m&amp;amp;i wetsign_m&amp;amp;i lt_m&amp;amp;i gt_m&amp;amp;i)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; define market_name / order width=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;30&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'Market Name'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; format=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;$30.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; style(column)={cellwidth=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;3.0&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;in};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; define channel_summary / display width=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;30&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'Channel'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; format=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;$30.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; style(column)={cellwidth=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;3.0&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;in};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%to&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &amp;amp;num_months;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; define total_accts_m&amp;amp;i / display &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;center style(column)={cellwidth=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;0.9&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;in } ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt;define esign_m&amp;amp;i / analysis&amp;nbsp; center style(column)={cellwidth=0.9in };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt; define wetsign_m&amp;amp;i /&amp;nbsp; analysis&amp;nbsp; center style(column)={cellwidth=0.9in };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt; define lt_m&amp;amp;i /&amp;nbsp;&amp;nbsp; analysis center style(column)={cellwidth=0.9in };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt; define gt_m&amp;amp;i /&amp;nbsp;&amp;nbsp; analysis center style(column)={cellwidth=1.0in };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%to&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &amp;amp;num_months;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;compute total_accts_m&amp;amp;i;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;if Channel_Summary=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'Touchpoint'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; then c_sum&amp;amp;i+total_accts_m&amp;amp;i;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;else if Channel_Summary=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'Branch Intranet'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; then b_sum&amp;amp;i+total_accts_m&amp;amp;i;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;endcomp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: green; font-size: 10pt;"&gt;/* rbreak after&amp;nbsp; / summarize&amp;nbsp; style(summary) = {font_weight=bold font_size=11pt }&amp;nbsp; ;*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;compute after / style(lines)= {font_weight=bold font_size=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;11&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;pt } ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%to&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &amp;amp;num_months;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;line @&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;31&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'GRAND TOTAL TOUCHPOINT'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c_sum&amp;amp;i;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;line @&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;31&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'GRAND TOTAL BRANCH INTRANET'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp; b_sum&amp;amp;i ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; endcomp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;run ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 15:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149684#M11559</guid>
      <dc:creator>Laurie</dc:creator>
      <dc:date>2014-09-18T15:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting report totals broken out</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149685#M11560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, That is a bad idea to use macro for so many variables. If I were you ,I would like to use data step to get these statistical variables and append them at bottom of the table , and then just simply proc print it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, you don't need to make so many compute block , only one is enough. in other words, put the code in the&lt;STRONG&gt; last variable&lt;/STRONG&gt; compute block .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 12:14:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149685#M11560</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-09-19T12:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting report totals broken out</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149686#M11561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would agree there.&amp;nbsp; From my side I have to store a copy of the dataset for separate validation, so the dataset should resemble the output as much as possible.&amp;nbsp; Hence we do all the calculations up front:&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;&amp;nbsp; length Market_name Channel_Summary $200 total_accts_m1 8 brkt brkb $1;&lt;BR /&gt;&amp;nbsp; infile datalines dlm=","; &lt;BR /&gt;&amp;nbsp; input Market_name $ Channel_Summary $ total_accts_m1 brkt $ brkb $;&lt;BR /&gt;datalines;&lt;BR /&gt;Greater Philadelphia,Touchpoint,2,t,b &lt;BR /&gt;New England South,Touchpoint,7,t,b &lt;BR /&gt;Western/Central Pennsylvania,Touchpoint,1,t,b &lt;BR /&gt;_Incomplete Information,Branch Intranet,1,t,b &lt;BR /&gt;_Incomplete Information,Touchpoint,2,t,b &lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;&amp;nbsp; create table WANT as&lt;BR /&gt;&amp;nbsp; select&amp;nbsp; MARKET_NAME,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHANNEL_SUMMARY,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL_ACCTS_M1&lt;BR /&gt;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp; WORK.HAVE&lt;BR /&gt;&amp;nbsp; union all&lt;BR /&gt;&amp;nbsp; select&amp;nbsp; "" as MARKET_NAME,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Grand Total Touchpoint" as CHANNEL_SUMMARY,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(TOTAL_ACCTS_M1) as TOTAL_ACCTS_M1&lt;BR /&gt;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp; (select * from WORK.HAVE where CHANNEL_SUMMARY="Touchpoint")&lt;BR /&gt;&amp;nbsp; union all&lt;BR /&gt;&amp;nbsp; select&amp;nbsp; "" as MARKET_NAME,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Grand Total Branch Internet" as CHANNEL_SUMMARY,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(TOTAL_ACCTS_M1) as TOTAL_ACCTS_M1&lt;BR /&gt;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp; (select * from WORK.HAVE where CHANNEL_SUMMARY="Branch Intranet");&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;ods pdf file="s:\temp\rob\out.pdf";&lt;BR /&gt;proc report data=want style=statistical nowd;&lt;BR /&gt;&amp;nbsp; columns market_name channel_summary total_accts_m1;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 12:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trouble-getting-report-totals-broken-out/m-p/149686#M11561</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-09-19T12:32:23Z</dc:date>
    </item>
  </channel>
</rss>

