<?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 transpose my data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-transpose-my-data/m-p/177515#M45432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset needs to be reshaped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attachment, which is only part of my dataset for your reference. Actually there are more than 2 fundcdym in my dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 00:10:24 GMT</pubDate>
    <dc:creator>comeon2012</dc:creator>
    <dc:date>2014-02-18T00:10:24Z</dc:date>
    <item>
      <title>how to transpose my data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-transpose-my-data/m-p/177515#M45432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset needs to be reshaped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attachment, which is only part of my dataset for your reference. Actually there are more than 2 fundcdym in my dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 00:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-transpose-my-data/m-p/177515#M45432</guid>
      <dc:creator>comeon2012</dc:creator>
      <dc:date>2014-02-18T00:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to transpose my data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-transpose-my-data/m-p/177516#M45433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I uploaded your data and cut off everything other than fundcdym variable and est_adj because I figured those were really the only variables that you had in the dataset as they were the ones that you had transposed. The below code will output a dataset similar to what you were asking for other than the transposed columns are in alphabetical order rather than the order in your csv file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by fundcdym variable;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc transpose data = have out = want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by fundcdym;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id variable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var est_adj;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 00:43:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-transpose-my-data/m-p/177516#M45433</guid>
      <dc:creator>overmar</dc:creator>
      <dc:date>2014-02-18T00:43:38Z</dc:date>
    </item>
  </channel>
</rss>

