<?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: Left join - extra rows returned because of multiple matches, need to keep all matched values. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Left-join-extra-rows-returned-because-of-multiple-matches-need/m-p/580853#M13613</link>
    <description>PROC TRANSPOSE&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;</description>
    <pubDate>Tue, 13 Aug 2019 15:34:14 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-08-13T15:34:14Z</dc:date>
    <item>
      <title>Left join - extra rows returned because of multiple matches, need to keep all matched values.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-join-extra-rows-returned-because-of-multiple-matches-need/m-p/580846#M13612</link>
      <description>&lt;P&gt;So I'm aware that left joining (if there's multiple matches from the right table) will result in more rows. What I need help with is how to split that column into multiple variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if my data looks like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;adm_id&amp;nbsp; &amp;nbsp;cb_othr&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b&amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a&amp;nbsp;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want it instead to look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;adm_id&amp;nbsp; &amp;nbsp;cb_othr_1 cb_othr_2&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure it's simple, but I haven't used SAS for a while and not sure where to start. Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:27:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-join-extra-rows-returned-because-of-multiple-matches-need/m-p/580846#M13612</guid>
      <dc:creator>accintron</dc:creator>
      <dc:date>2019-08-13T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Left join - extra rows returned because of multiple matches, need to keep all matched values.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-join-extra-rows-returned-because-of-multiple-matches-need/m-p/580853#M13613</link>
      <description>PROC TRANSPOSE&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;</description>
      <pubDate>Tue, 13 Aug 2019 15:34:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-join-extra-rows-returned-because-of-multiple-matches-need/m-p/580853#M13613</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-13T15:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Left join - extra rows returned because of multiple matches, need to keep all matched values.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-join-extra-rows-returned-because-of-multiple-matches-need/m-p/580856#M13614</link>
      <description>&lt;P&gt;Thank you! I knew it seemed like something I've done before I just couldnt think of what the heck it was. Much appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-join-extra-rows-returned-because-of-multiple-matches-need/m-p/580856#M13614</guid>
      <dc:creator>accintron</dc:creator>
      <dc:date>2019-08-13T15:36:38Z</dc:date>
    </item>
  </channel>
</rss>

