<?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: transposition using PROC REPORT in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137361#M36985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not with PROC REPORT. You'd have to try TABULATE or DATA Step program with 2 separate variables.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2014 20:25:44 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-12-05T20:25:44Z</dc:date>
    <item>
      <title>transposition using PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137357#M36981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to do the transposition below using PROC REPORT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 23:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137357#M36981</guid>
      <dc:creator>dataMart87</dc:creator>
      <dc:date>2014-12-04T23:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: transposition using PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137358#M36982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, forgot the attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Have:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="have.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/8239_have.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Want:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="want.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/8240_want.PNG" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 23:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137358#M36982</guid>
      <dc:creator>dataMart87</dc:creator>
      <dc:date>2014-12-04T23:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: transposition using PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137359#M36983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it depends on the structure of what you have. PROC REPORT will not directly "stack" 2 separate variables like NUMER and DENOM in 2 separate rows. So if NUMER and DENOM are diff variables, then the answer is yes, but with some data manipulation first. If NUMER and DENOM are both values of an ACROSS item, then it would be easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; See the 2 transpose examples at the beginning of this paper. &lt;A href="http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf" title="http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf"&gt;http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 04:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137359#M36983</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-12-05T04:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: transposition using PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137360#M36984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; I'm able to do it when I normalize the data first.&amp;nbsp; There's not a (less easier) way to do it if NUMER and DENOM are two different variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="proc report transposition.PNG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/8252_proc report transposition.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 18:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137360#M36984</guid>
      <dc:creator>dataMart87</dc:creator>
      <dc:date>2014-12-05T18:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: transposition using PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137361#M36985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not with PROC REPORT. You'd have to try TABULATE or DATA Step program with 2 separate variables.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 20:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137361#M36985</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-12-05T20:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: transposition using PROC REPORT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137362#M36986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not going to retype your code to test but&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=have; /*your original data layout from the second post*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class mc / missing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var numer denom;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table (numer denom) * max=' '*f=best5. ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mc='';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;might get close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warning: Proc tabulate does not have a display value approach, a statistic pretty much must be requested unless all you want is a count. The code I have will summarize. So probably will not yield desired result if there are duplicate values for MC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 20:31:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/transposition-using-PROC-REPORT/m-p/137362#M36986</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-12-05T20:31:15Z</dc:date>
    </item>
  </channel>
</rss>

