<?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: SPANROWS option in proc report does not display properly in SAS Report window in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPANROWS-option-in-proc-report-does-not-display-properly-in-SAS/m-p/211123#M15819</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; It looks like SASReport XML format in EG does not support the SPANROWS option. It works in HTML, RTF, PDF (Printer family) destinations. SASReport XML has to be usable in many other client applications, not just Enterprise Guide (client apps like Web Report Studio and/or the Information Delivery Portal). So it doesn't surprise me that SASReport XML doesn't use SPANROWS. As RW9 suggested, you can switch to another destination if you really need/want to use SPANROWS.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 02:27:12 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-05-08T02:27:12Z</dc:date>
    <item>
      <title>SPANROWS option in proc report does not display properly in SAS Report window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPANROWS-option-in-proc-report-does-not-display-properly-in-SAS/m-p/211121#M15817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently on SAS EG 7.1 (SAS Base 9.4).&amp;nbsp; In my SAS EG configuration, I have two output windows: SAS Report and HTML.&amp;nbsp; I wanted to use the SPANROWS option in proc report, but the table did not display properly in SAS Report window.&amp;nbsp; It, however, did display well in the HTML window.&amp;nbsp; Below are the codes that I used.&amp;nbsp; You can copy and run it on your SAS EG.&amp;nbsp; (These codes were copied from &lt;A href="http://blogs.sas.com/content/sastraining/2011/02/28/whats-so-great-about-spanrows/" title="http://blogs.sas.com/content/sastraining/2011/02/28/whats-so-great-about-spanrows/"&gt;http://blogs.sas.com/content/sastraining/2011/02/28/whats-so-great-about-spanrows/&lt;/A&gt;)&amp;nbsp; Can anyone tell me what was wrong with the SAS Report window?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=sashelp.shoes out=shoes;&lt;/P&gt;&lt;P&gt;&amp;nbsp; where (product contains 'Casual') and (region = 'Canada' or region='Pacific');&lt;/P&gt;&lt;P&gt;&amp;nbsp; by region product;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=shoes nowd;&lt;/P&gt;&lt;P&gt;title 'REPORT Default Behavior';&lt;/P&gt;&lt;P&gt;&amp;nbsp; column region subsidiary product,(sales sales=savg);&lt;/P&gt;&lt;P&gt;&amp;nbsp; define region / group style(column)=Header;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define subsidiary / group style(column)=Header;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define product / across 'Product Sales';&lt;/P&gt;&lt;P&gt;&amp;nbsp; define sales / sum 'Sum' f=dollar10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define savg / mean 'Mean' f=dollar10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; rbreak after / summarize style=Header;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=shoes nowd SPANROWS;&lt;/P&gt;&lt;P&gt;title 'REPORT Output with SPANROWS';&lt;/P&gt;&lt;P&gt;&amp;nbsp; column region subsidiary product,(sales sales=savg);&lt;/P&gt;&lt;P&gt;&amp;nbsp; define region / group style(column)=Header;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define subsidiary / group style(column)=Header;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define product / across 'Product Sales';&lt;/P&gt;&lt;P&gt;&amp;nbsp; define sales / sum 'Sum' f=dollar10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define savg / mean 'Mean' f=dollar10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; rbreak after / summarize style=Header;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPANROWS-option-in-proc-report-does-not-display-properly-in-SAS/m-p/211121#M15817</guid>
      <dc:creator>RVA</dc:creator>
      <dc:date>2015-05-07T14:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: SPANROWS option in proc report does not display properly in SAS Report window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPANROWS-option-in-proc-report-does-not-display-properly-in-SAS/m-p/211122#M15818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats just because the basic report window is a simple text displayer.&amp;nbsp; It doesn't have the functionality to render more advanced text manipulations.&amp;nbsp; Personally the first thing I do when I start SAS is turn that off and send all output to a file, RTF or PDF, so I can see the rendering as well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 15:11:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPANROWS-option-in-proc-report-does-not-display-properly-in-SAS/m-p/211122#M15818</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-07T15:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: SPANROWS option in proc report does not display properly in SAS Report window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPANROWS-option-in-proc-report-does-not-display-properly-in-SAS/m-p/211123#M15819</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; It looks like SASReport XML format in EG does not support the SPANROWS option. It works in HTML, RTF, PDF (Printer family) destinations. SASReport XML has to be usable in many other client applications, not just Enterprise Guide (client apps like Web Report Studio and/or the Information Delivery Portal). So it doesn't surprise me that SASReport XML doesn't use SPANROWS. As RW9 suggested, you can switch to another destination if you really need/want to use SPANROWS.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 02:27:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPANROWS-option-in-proc-report-does-not-display-properly-in-SAS/m-p/211123#M15819</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-08T02:27:12Z</dc:date>
    </item>
  </channel>
</rss>

