<?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 PROC REPORT: How to hide cells from report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677464#M79362</link>
    <description>&lt;P&gt;I'm trying to move from my comfortable PROC TABULATE towards PROC REPORT. It appears to have many more options for my purposes. Here is my current objective:&lt;/P&gt;&lt;P&gt;1) I want to keep the row sums, and hide (or maybe color white) the computed column.&lt;/P&gt;&lt;P&gt;2) In the listing window, the summary border shows around each cell. In&amp;nbsp;ODS PDF and&amp;nbsp;ODS RTF, it does not show at all. I just want one bold box to show in ODS PDF around the summary row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help is always appreciated. (SAS Windows V9.4M4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;input&lt;/FONT&gt; A B C ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DATALINES&lt;/FONT&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;1 .4 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;2 1 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;3 2 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;4 1.2 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;pdf&lt;/FONT&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;REPORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff"&gt;DATA&lt;/FONT&gt;=have &lt;FONT color="#0000ff"&gt;nowd&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;style&lt;/FONT&gt;(summary)={ foreground=black borderwidth=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; bordercolor=black } ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;COLUMNS&lt;/FONT&gt; A B C ratio; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DEFINE&lt;/FONT&gt; A / &lt;FONT color="#0000ff"&gt;display&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Subject'&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DEFINE&lt;/FONT&gt; B / &lt;FONT color="#0000ff"&gt;sum&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Time in Study'&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DEFINE&lt;/FONT&gt; C / &lt;FONT color="#0000ff"&gt;sum&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Number of Events'&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;define&lt;/FONT&gt; ratio / &lt;FONT color="#0000ff"&gt;computed&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Event Rate'&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;Format&lt;/FONT&gt;=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;compute&lt;/FONT&gt; ratio ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;ratio=B.sum / C.sum ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;endcomp&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;rbreak&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;after&lt;/FONT&gt; /&lt;FONT color="#0000ff"&gt;summarize&lt;/FONT&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;close&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Aug 2020 12:51:55 GMT</pubDate>
    <dc:creator>MelissaM</dc:creator>
    <dc:date>2020-08-18T12:51:55Z</dc:date>
    <item>
      <title>PROC REPORT: How to hide cells from report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677464#M79362</link>
      <description>&lt;P&gt;I'm trying to move from my comfortable PROC TABULATE towards PROC REPORT. It appears to have many more options for my purposes. Here is my current objective:&lt;/P&gt;&lt;P&gt;1) I want to keep the row sums, and hide (or maybe color white) the computed column.&lt;/P&gt;&lt;P&gt;2) In the listing window, the summary border shows around each cell. In&amp;nbsp;ODS PDF and&amp;nbsp;ODS RTF, it does not show at all. I just want one bold box to show in ODS PDF around the summary row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help is always appreciated. (SAS Windows V9.4M4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;input&lt;/FONT&gt; A B C ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DATALINES&lt;/FONT&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;1 .4 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;2 1 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;3 2 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;4 1.2 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;pdf&lt;/FONT&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;REPORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff"&gt;DATA&lt;/FONT&gt;=have &lt;FONT color="#0000ff"&gt;nowd&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;style&lt;/FONT&gt;(summary)={ foreground=black borderwidth=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; bordercolor=black } ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;COLUMNS&lt;/FONT&gt; A B C ratio; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DEFINE&lt;/FONT&gt; A / &lt;FONT color="#0000ff"&gt;display&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Subject'&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DEFINE&lt;/FONT&gt; B / &lt;FONT color="#0000ff"&gt;sum&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Time in Study'&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;DEFINE&lt;/FONT&gt; C / &lt;FONT color="#0000ff"&gt;sum&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Number of Events'&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;define&lt;/FONT&gt; ratio / &lt;FONT color="#0000ff"&gt;computed&lt;/FONT&gt; &lt;FONT color="#800080"&gt;'Event Rate'&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;Format&lt;/FONT&gt;=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;compute&lt;/FONT&gt; ratio ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;ratio=B.sum / C.sum ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;endcomp&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#0000ff"&gt;rbreak&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;after&lt;/FONT&gt; /&lt;FONT color="#0000ff"&gt;summarize&lt;/FONT&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;close&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 12:51:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677464#M79362</guid>
      <dc:creator>MelissaM</dc:creator>
      <dc:date>2020-08-18T12:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT: How to hide cells from report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677467#M79363</link>
      <description>&lt;P&gt;You want to hide the column named RATIO? You could simply exclude it from the COLUMNS statement and don't compute it. Why are you computing it anyway?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 13:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677467#M79363</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-18T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT: How to hide cells from report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677481#M79365</link>
      <description>To clarify: I don't want to hide the ENTIRE column 'ratio'. I only want to display the summary row. I do not want the individual row values to display.</description>
      <pubDate>Tue, 18 Aug 2020 14:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677481#M79365</guid>
      <dc:creator>MelissaM</dc:creator>
      <dc:date>2020-08-18T14:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT: How to hide cells from report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677486#M79366</link>
      <description />
      <pubDate>Tue, 18 Aug 2020 14:13:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677486#M79366</guid>
      <dc:creator>MelissaM</dc:creator>
      <dc:date>2020-08-18T14:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT: How to hide cells from report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677487#M79367</link>
      <description>I posted below in a document what I "HAVE" and what I "WANT". It might clarify better.</description>
      <pubDate>Tue, 18 Aug 2020 14:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677487#M79367</guid>
      <dc:creator>MelissaM</dc:creator>
      <dc:date>2020-08-18T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT: How to hide cells from report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677575#M79371</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you take advantage of the automatic variable that PROC REPORT uses internally (_BREAK_), then you can do what you want:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1597771801039.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48390i921F3D3C240678F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1597771801039.png" alt="Cynthia_sas_0-1597771801039.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the border lines you want above the summary, Here are some alternatives:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1597772724167.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48391i194FCA5C20081319/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1597772724167.png" alt="Cynthia_sas_1-1597772724167.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps. Here's a paper about BREAK processing and PROC REPORT. &lt;A href="https://support.sas.com/resources/papers/proceedings17/SAS0431-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/SAS0431-2017.pdf&lt;/A&gt;&amp;nbsp; That should help you understand some of how BREAK processing works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 17:51:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677575#M79371</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-08-18T17:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT: How to hide cells from report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677930#M79391</link>
      <description>Thank you, Cynthia! This is exactly what I was looking for!</description>
      <pubDate>Thu, 20 Aug 2020 00:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-How-to-hide-cells-from-report/m-p/677930#M79391</guid>
      <dc:creator>MelissaM</dc:creator>
      <dc:date>2020-08-20T00:48:31Z</dc:date>
    </item>
  </channel>
</rss>

