<?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: Joining Data without blank line where data doesn't match in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Joining-Data-without-blank-line-where-data-doesn-t-match/m-p/521938#M32691</link>
    <description>&lt;P&gt;Read the data into SAS.&amp;nbsp; Use retain variables to create retain values on the manager columns (or you could transpose the data, sort not missing, then transpose again.&amp;nbsp; Or in fact merge the non-missing row to non-missing row).&amp;nbsp; Then join the data.&amp;nbsp; Then output again.&amp;nbsp; Plenty of examples on here already on how to line up data.&amp;nbsp; If you provide test data in the form of a datastep of all the relevant datasets, I can supply some code, but not here to type in test data.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2018 15:04:18 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-12-17T15:04:18Z</dc:date>
    <item>
      <title>Joining Data without blank line where data doesn't match</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Joining-Data-without-blank-line-where-data-doesn-t-match/m-p/521930#M32690</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There are different string variables from different months of data that I'm trying to pull to create one sheet of data where there aren't duplicate rows of data.&amp;nbsp; When I do this through a case statement or joining data a blank row shows up for where it does not agree. For example, if someone has two different managers in October and November I want the employee to show only one row of data and have an "October Manager" column and a "November Manager" column.&amp;nbsp; I know that when using numbers you can simply sum the info but with string variables it's proving to be more challenging. I've included a picture that will hopefully shed some light on what I'm looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS_Question.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25743iB131D9A5A47F4E52/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_Question.JPG" alt="SAS_Question.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 14:50:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Joining-Data-without-blank-line-where-data-doesn-t-match/m-p/521930#M32690</guid>
      <dc:creator>mmagnuson</dc:creator>
      <dc:date>2018-12-17T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Data without blank line where data doesn't match</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Joining-Data-without-blank-line-where-data-doesn-t-match/m-p/521938#M32691</link>
      <description>&lt;P&gt;Read the data into SAS.&amp;nbsp; Use retain variables to create retain values on the manager columns (or you could transpose the data, sort not missing, then transpose again.&amp;nbsp; Or in fact merge the non-missing row to non-missing row).&amp;nbsp; Then join the data.&amp;nbsp; Then output again.&amp;nbsp; Plenty of examples on here already on how to line up data.&amp;nbsp; If you provide test data in the form of a datastep of all the relevant datasets, I can supply some code, but not here to type in test data.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 15:04:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Joining-Data-without-blank-line-where-data-doesn-t-match/m-p/521938#M32691</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-12-17T15:04:18Z</dc:date>
    </item>
  </channel>
</rss>

