<?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: transpose row data into multi columns in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/transpose-row-data-into-multi-columns/m-p/66867#M6710</link>
    <description>For future consideration, it is not necessary to post a question in more than one forum.&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
    <pubDate>Mon, 22 Dec 2008 20:35:05 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2008-12-22T20:35:05Z</dc:date>
    <item>
      <title>transpose row data into multi columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/transpose-row-data-into-multi-columns/m-p/66866#M6709</link>
      <description>Below are the contents of my dataset with 4 observations and 4 columns(a,b,c,d) with values x, y, z, x in each observation.&lt;BR /&gt;
      a     b   c    d&lt;BR /&gt;
1    x     x   x    x&lt;BR /&gt;
2    y     y   y    y&lt;BR /&gt;
3    z     z   z    z&lt;BR /&gt;
4    x     x   x    x&lt;BR /&gt;
&lt;BR /&gt;
Now, I need to transform this into below structure:&lt;BR /&gt;
&lt;BR /&gt;
    a1   b1   c1   d1    a2   b2   c2    d2   a3   b3   c3    d3   a4   b4   c4   d4&lt;BR /&gt;
    ==  ==   ==   ==   ==   ==   ==   ==  ==   ==   ==   ==  ==   ==   ==   ==      &lt;BR /&gt;
    x      x    x    x       y    y      y     y     z    z      z     z    x      x     x     x&lt;BR /&gt;
&lt;BR /&gt;
In the other sense, all the row data needs to be transformed into columns (appending each column name with the observation a1, b1, a2, b2 etc...)&lt;BR /&gt;
&lt;BR /&gt;
How I can achieve this, any easy way to accomplish this?</description>
      <pubDate>Mon, 22 Dec 2008 19:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/transpose-row-data-into-multi-columns/m-p/66866#M6709</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-22T19:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: transpose row data into multi columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/transpose-row-data-into-multi-columns/m-p/66867#M6710</link>
      <description>For future consideration, it is not necessary to post a question in more than one forum.&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
      <pubDate>Mon, 22 Dec 2008 20:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/transpose-row-data-into-multi-columns/m-p/66867#M6710</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-12-22T20:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: transpose row data into multi columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/transpose-row-data-into-multi-columns/m-p/66868#M6711</link>
      <description>Are you using SAS DI or you want to do this using PROC ?&lt;BR /&gt;
If you are doing SAS DI then use  Process Library -&amp;gt; Data Transforms -&amp;gt; Transpose,&lt;BR /&gt;
&lt;BR /&gt;
If you check the Contents Help  you have Step-by-Step Procedure for how to Do this , It is simple &amp;amp; easy to follow  so i am not going to re invent the wheel here!&lt;BR /&gt;
&lt;BR /&gt;
Good Luck</description>
      <pubDate>Mon, 22 Dec 2008 21:53:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/transpose-row-data-into-multi-columns/m-p/66868#M6711</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-22T21:53:28Z</dc:date>
    </item>
  </channel>
</rss>

