<?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 Can Proc Report Transpose Columns? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-Proc-Report-Transpose-Columns/m-p/3819#M1611</link>
    <description>Can PROC REPORT perform a transpose of the output? I only have 3 rows but many columns, and the end user wants the rows to appear as columns. In order to do this, I am creating an output dataset from PROC REPORT, transposing that with PROC TRANSPOSE and then running a second PROC REPORT to display the summarized data as requested. This is a quick solution, but it does not work very well for a number of reasons, such as differing number formats on the same column in the second report.  There must be a simpler way.</description>
    <pubDate>Tue, 17 Jul 2007 19:11:42 GMT</pubDate>
    <dc:creator>Petersi</dc:creator>
    <dc:date>2007-07-17T19:11:42Z</dc:date>
    <item>
      <title>Can Proc Report Transpose Columns?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-Proc-Report-Transpose-Columns/m-p/3819#M1611</link>
      <description>Can PROC REPORT perform a transpose of the output? I only have 3 rows but many columns, and the end user wants the rows to appear as columns. In order to do this, I am creating an output dataset from PROC REPORT, transposing that with PROC TRANSPOSE and then running a second PROC REPORT to display the summarized data as requested. This is a quick solution, but it does not work very well for a number of reasons, such as differing number formats on the same column in the second report.  There must be a simpler way.</description>
      <pubDate>Tue, 17 Jul 2007 19:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-Proc-Report-Transpose-Columns/m-p/3819#M1611</guid>
      <dc:creator>Petersi</dc:creator>
      <dc:date>2007-07-17T19:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can Proc Report Transpose Columns?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-Proc-Report-Transpose-Columns/m-p/3820#M1612</link>
      <description>On the face of it - did you try defining each variable as an across variable?&lt;BR /&gt;
&lt;BR /&gt;
Something like:&lt;BR /&gt;
&lt;BR /&gt;
PROC REPORT DATA=WORK.HOLIDAYS LS=142 PS=46  SPLIT="/" CENTER NOWD;&lt;BR /&gt;
COLUMN  Holiday Agency_Status Date;&lt;BR /&gt;
&lt;BR /&gt;
DEFINE  Holiday / ACROSS FORMAT= $22. WIDTH=22    SPACING=2   LEFT "Holiday" ;&lt;BR /&gt;
DEFINE  Agency_Status / ACROSS FORMAT= $22. WIDTH=22    SPACING=2   LEFT "Agency_Status" ;&lt;BR /&gt;
DEFINE  Date / ACROSS FORMAT= DATE9. WIDTH=9     SPACING=2   RIGHT "Date" ;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
I went back a added a quick demo from something I had.&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: rwright

Ignore me - I completely mis-read what you were trying to do.&lt;BR /&gt;
&lt;BR /&gt;
This might be better done using COMPUTAB (if you have access to it).&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: rwright</description>
      <pubDate>Wed, 18 Jul 2007 14:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-Proc-Report-Transpose-Columns/m-p/3820#M1612</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-07-18T14:51:40Z</dc:date>
    </item>
  </channel>
</rss>

