<?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 how to delete/hide rows in a report using proc report? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42333#M11012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Cynthia for the info.. I changed my source dataset accordingly... &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u Ksharp &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 05:36:29 GMT</pubDate>
    <dc:creator>Rose</dc:creator>
    <dc:date>2011-08-05T05:36:29Z</dc:date>
    <item>
      <title>how to delete/hide rows in a report using proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42329#M11008</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 requirement to hide 2 rows in my report, but I need to show the total of these records using 'rbreak summarize' . Since I have to show the total in the report I am not able to delete these records from my source dataset. Is there any option in proc report like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if col1 = 'SP" then delete; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 06:11:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42329#M11008</guid>
      <dc:creator>Rose</dc:creator>
      <dc:date>2011-08-04T06:11:49Z</dc:date>
    </item>
    <item>
      <title>how to delete/hide rows in a report using proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42330#M11009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use computed column to hiden these two row of especial column and use noprint for this especial column.&lt;/P&gt;&lt;P&gt;The best way is to post some data and output you need, then Cynthia is able to do it with happiness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course.I can do it also.But I recommend Cynthia who is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 10:30:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42330#M11009</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-08-04T10:30:06Z</dc:date>
    </item>
    <item>
      <title>how to delete/hide rows in a report using proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42331#M11010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Ksharp..&lt;/P&gt;&lt;P&gt;My source dataset is like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 144pt; border-collapse: collapse;" width="192"&gt;&lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="width: 48pt; height: 15pt;" width="64"&gt;Col1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; width: 48pt;" width="64"&gt;Col2&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; width: 48pt;" width="64"&gt;Col3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt;DIV A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt;DIV B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt;DIV C&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;5&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;I want the report to be in the form &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 144pt; border-collapse: collapse;" width="192"&gt;&lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="width: 48pt; height: 15pt;" width="64"&gt;DIV A&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; width: 48pt;" width="64"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; width: 48pt;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt;DIV B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="border-top: medium none; height: 15pt;"&gt;DIV C&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: medium none; border-left: medium none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e., i want to delete the 2 rows corresponding to DIV C and print the Total only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am clear with the requirement nw..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 11:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42331#M11010</guid>
      <dc:creator>Rose</dc:creator>
      <dc:date>2011-08-04T11:54:28Z</dc:date>
    </item>
    <item>
      <title>how to delete/hide rows in a report using proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42332#M11011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I appreciate Ksharp's confidence in my ability to code PROC REPORT, however, I cannot code anything counter to the way that PROC REPORT wants to operate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The bottom line is that PROC REPORT does not allow you to delete report &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;rows&lt;/STRONG&gt;&lt;/SPAN&gt;. If report is doing a detail report, with summary lines, you can either have summary lines or not --- but you cannot delete the detail lines and only show the summary lines. To collapse the detail lines, you would move into the world of summary report, but given your data, you are generating a detail report that contains summary lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; PROC REPORT does allow you to hide report &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;columns&lt;/STRONG&gt;&lt;/SPAN&gt;, using the NOPRINT option. But if you want to generate the TOTAL line with PROC REPORT, for each division, then each division will be treated the same way and you cannot show the report &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;rows &lt;/STRONG&gt;&lt;/SPAN&gt;for Div A and Div B and suppress them for Div C. You might be able to pre-process your data somewhat to do the report you want, but PROC REPORT will not do it "out of the box".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 13:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42332#M11011</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-08-04T13:54:02Z</dc:date>
    </item>
    <item>
      <title>how to delete/hide rows in a report using proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42333#M11012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Cynthia for the info.. I changed my source dataset accordingly... &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u Ksharp &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 05:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-delete-hide-rows-in-a-report-using-proc-report/m-p/42333#M11012</guid>
      <dc:creator>Rose</dc:creator>
      <dc:date>2011-08-05T05:36:29Z</dc:date>
    </item>
  </channel>
</rss>

