<?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: Merging two data sets using SASEnterprise Miner Merge node -keep only matching Id records from s in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/339600#M5076</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN class=""&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This did it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I was about to spend a lot of time to do it manually with Python. This saved a lot of my time&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2017 12:37:39 GMT</pubDate>
    <dc:creator>Piyu</dc:creator>
    <dc:date>2017-03-09T12:37:39Z</dc:date>
    <item>
      <title>Merging two data sets using SASEnterprise Miner Merge node -keep only matching Id records from set 2</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/338352#M5059</link>
      <description>&lt;P&gt;I am trying to Merge two datasets using SAS Enterprise Miner Merge node using a common ID-Student_ID.&lt;/P&gt;&lt;P&gt;I want all records from dataset 1 merged with only the records that has a matching ID entry to data set 1 from the second data set .&lt;/P&gt;&lt;P&gt;Can someone help me to do this?. Right now I get all records from dataset 2 merged to dataset 1&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 05:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/338352#M5059</guid>
      <dc:creator>Piyu</dc:creator>
      <dc:date>2017-03-06T05:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two data sets using SASEnterprise Miner Merge node -keep only matching Id records from s</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/338934#M5070</link>
      <description>&lt;P&gt;I don't believe you can do this in the merge. You may try filtering either after or before to get your result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not clear if you are looking for an inner join, left or right join based on your post. &amp;nbsp;If you can clarify I may be able to give a more specific answer.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 18:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/338934#M5070</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2017-03-07T18:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two data sets using SASEnterprise Miner Merge node -keep only matching Id records from s</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/339100#M5073</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm interested in left join as well as inner join in this case.&lt;/P&gt;&lt;P&gt;If I can do both or either one that would be great.&lt;/P&gt;&lt;P&gt;Right now I'm getting a full join.&lt;/P&gt;&lt;P&gt;Is there any way to atleast filter out the records related to the ID in first set?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 05:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/339100#M5073</guid>
      <dc:creator>Piyu</dc:creator>
      <dc:date>2017-03-08T05:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two data sets using SASEnterprise Miner Merge node -keep only matching Id records from s</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/339261#M5075</link>
      <description>&lt;P&gt;You can use the filter node either before or after the merge. In my example I merged on some predictions values, so the records that did not have a&amp;nbsp;value for phat (my prediction variable) I filtered out. This gave me&amp;nbsp;a dataset with only the rows I wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just be sure to set the properties for Class and interval variables to NONE and click on the ellipse (indicated below)&amp;nbsp;to specify the filter you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="2017-03-08_9-25-12.png" alt="2017-03-08_9-25-12.png" src="https://communities.sas.com/t5/image/serverpage/image-id/7621iB4CCF530A708D273/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's what my filter looks like for phat&lt;/P&gt;
&lt;P&gt;&lt;IMG title="2017-03-08_9-27-22.png" alt="2017-03-08_9-27-22.png" src="https://communities.sas.com/t5/image/serverpage/image-id/7622i826F3686FEAB8A13/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use the SAS code node to filter. Here's a simple example of how that would work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="2017-03-08_9-42-18.png" alt="2017-03-08_9-42-18.png" src="https://communities.sas.com/t5/image/serverpage/image-id/7623iBA698759025F638A/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 14:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/339261#M5075</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2017-03-08T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two data sets using SASEnterprise Miner Merge node -keep only matching Id records from s</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/339600#M5076</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN class=""&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This did it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I was about to spend a lot of time to do it manually with Python. This saved a lot of my time&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 12:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Merging-two-data-sets-using-SASEnterprise-Miner-Merge-node-keep/m-p/339600#M5076</guid>
      <dc:creator>Piyu</dc:creator>
      <dc:date>2017-03-09T12:37:39Z</dc:date>
    </item>
  </channel>
</rss>

