<?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 - Merge grand total cells (or hide some) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811887#M320290</link>
    <description>Hi: Are there other changes in your code? How did you get the background grey? And the border lines in black? When I use the default ODS EXCEL style, my output for the TOTAL row is NOT grey and I don't have any borderlines. Did you show ALL your code including ODS style overrides? Are you using a custom style template? It maybe possible to change the border colors, but my experience with ODS EXCEL and borders is that EXCEL is very picky.&lt;BR /&gt;Cynthia</description>
    <pubDate>Fri, 06 May 2022 15:20:56 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2022-05-06T15:20:56Z</dc:date>
    <item>
      <title>Proc report - Merge grand total cells (or hide some)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811875#M320279</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to customize my proc report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I computed columns in order to get the total sum of observations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The picture below shows the last line of my proc report with the total added.&lt;/P&gt;&lt;P&gt;The first three columns (var1--var3) refer to character variables and i want the total to be merged with the 2 cells on its left. Or alternatively,&amp;nbsp; i though of hiding the two border lines shown in yellow.&lt;/P&gt;&lt;P&gt;Any help ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isgnr_1-1651848552242.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71191i470B6F07046D7872/image-size/medium?v=v2&amp;amp;px=400" role="button" title="isgnr_1-1651848552242.png" alt="isgnr_1-1651848552242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc report data = a ;

columns var1 var2 var3 ... ; 

define .. ; 
rbreak after / summarize ; 
compute after ;
var 3 = "Total" ; 
endcomp ; 
run ; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 14:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811875#M320279</guid>
      <dc:creator>elsfy</dc:creator>
      <dc:date>2022-05-06T14:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - Merge grand total cells (or hide some)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811881#M320284</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; PROC REPORT does not merge cells the way that Excel does. You can use a LINE statement, which would produce one line that would span the entire report (but then your Grand Totals wouldn't show in the columns. Or you could change to a style like JOURNAL, which suppresses interior table lines. You don't show all your code. What is your ODS destination of interest?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 14:58:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811881#M320284</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-05-06T14:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - Merge grand total cells (or hide some)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811882#M320285</link>
      <description>ODS EXCEL</description>
      <pubDate>Fri, 06 May 2022 14:59:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811882#M320285</guid>
      <dc:creator>elsfy</dc:creator>
      <dc:date>2022-05-06T14:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - Merge grand total cells (or hide some)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811883#M320286</link>
      <description>&lt;P&gt;If i understand correctly with the line statement i won't have the grand total with the sum of all next columns which is an absolute need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it then possible to hide the borders in yellow like putting them in grey too?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 15:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811883#M320286</guid>
      <dc:creator>elsfy</dc:creator>
      <dc:date>2022-05-06T15:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - Merge grand total cells (or hide some)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811887#M320290</link>
      <description>Hi: Are there other changes in your code? How did you get the background grey? And the border lines in black? When I use the default ODS EXCEL style, my output for the TOTAL row is NOT grey and I don't have any borderlines. Did you show ALL your code including ODS style overrides? Are you using a custom style template? It maybe possible to change the border colors, but my experience with ODS EXCEL and borders is that EXCEL is very picky.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 06 May 2022 15:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811887#M320290</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-05-06T15:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - Merge grand total cells (or hide some)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811888#M320291</link>
      <description>&lt;P&gt;Actually my code is way more than that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did most of the customs with proc report just like that for instance ;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;rbreak after / summarize  style(summary) = {font_weight=bold font_size=2 background=lightgrey just=r} ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My idea was to hide the yellow borders with proc report but if it is possible with ods excel then it would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 15:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811888#M320291</guid>
      <dc:creator>elsfy</dc:creator>
      <dc:date>2022-05-06T15:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - Merge grand total cells (or hide some)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811917#M320300</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Changing border styles worked for me using 9.4M7:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1651857189370.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71197i02A16F5EBCA122B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1651857189370.png" alt="Cynthia_sas_0-1651857189370.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 17:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Merge-grand-total-cells-or-hide-some/m-p/811917#M320300</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-05-06T17:13:29Z</dc:date>
    </item>
  </channel>
</rss>

