<?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: How to convert the data into this looking? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754088#M237744</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/389348"&gt;@Feyng819&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BR /&gt;Im not sure if I am using the transpose correctly&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Show your code if you're not sure if your code is correct.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jul 2021 14:36:37 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-07-14T14:36:37Z</dc:date>
    <item>
      <title>How to convert the data into this looking?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754074#M237736</link>
      <description>My original data look like this:&lt;BR /&gt;var1 var2 var3&lt;BR /&gt;1 3 C&lt;BR /&gt;&lt;BR /&gt;And I want to make them look like this (splitting one row of data into four rows, var2 goes under var1, the value of var1 shows one row of data with var3 and one row of data without var3)&lt;BR /&gt;var1 var2 var3&lt;BR /&gt;1 . .&lt;BR /&gt;1 . C&lt;BR /&gt;3 . .&lt;BR /&gt;3 . C&lt;BR /&gt;&lt;BR /&gt;Thank you!!</description>
      <pubDate>Wed, 14 Jul 2021 14:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754074#M237736</guid>
      <dc:creator>Feyng819</dc:creator>
      <dc:date>2021-07-14T14:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert the data into this looking?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754080#M237740</link>
      <description>&lt;P&gt;The term is TRANSPOSE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Transposing data tutorials:&lt;BR /&gt;Long to Wide:&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/modules/how-to-reshape-data-long-to-wide-using-proc-transpose/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/modules/how-to-reshape-data-long-to-wide-using-proc-transpose/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/modules/reshaping-data-long-to-wide-using-the-data-step/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/modules/reshaping-data-long-to-wide-using-the-data-step/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wide to Long:&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/modules/how-to-reshape-data-wide-to-long-using-proc-transpose/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/modules/how-to-reshape-data-wide-to-long-using-proc-transpose/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/modules/reshaping-data-wide-to-long-using-a-data-step/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/modules/reshaping-data-wide-to-long-using-a-data-step/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/389348"&gt;@Feyng819&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;My original data look like this:&lt;BR /&gt;var1 var2 var3&lt;BR /&gt;1 3 C&lt;BR /&gt;&lt;BR /&gt;And I want to make them look like this (splitting one row of data into four rows, var2 goes under var1, the value of var1 shows one row of data with var3 and one row of data without var3)&lt;BR /&gt;var1 var2 var3&lt;BR /&gt;1 . .&lt;BR /&gt;1 . C&lt;BR /&gt;3 . .&lt;BR /&gt;3 . C&lt;BR /&gt;&lt;BR /&gt;Thank you!!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 14:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754080#M237740</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-14T14:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert the data into this looking?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754085#M237743</link>
      <description>Thank you for your help! I would like to ask that how can I get the alternative var3 value? And i tried to use transpose and my data look like&lt;BR /&gt;1&lt;BR /&gt;3&lt;BR /&gt;C&lt;BR /&gt;Im not sure if I am using the transpose correctly&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jul 2021 14:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754085#M237743</guid>
      <dc:creator>Feyng819</dc:creator>
      <dc:date>2021-07-14T14:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert the data into this looking?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754088#M237744</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/389348"&gt;@Feyng819&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BR /&gt;Im not sure if I am using the transpose correctly&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Show your code if you're not sure if your code is correct.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 14:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754088#M237744</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-14T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert the data into this looking?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754090#M237745</link>
      <description>I just tried out other codes from wide to long and it works! Thank you for your help</description>
      <pubDate>Wed, 14 Jul 2021 14:43:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-data-into-this-looking/m-p/754090#M237745</guid>
      <dc:creator>Feyng819</dc:creator>
      <dc:date>2021-07-14T14:43:34Z</dc:date>
    </item>
  </channel>
</rss>

