<?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: Retaining Duplicates in Comparison of 2 Files using Join Tool in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Retaining-Duplicates-in-Comparison-of-2-Files-using-Join-Tool/m-p/943121#M231624</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/320624"&gt;@FChen1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is one possible option. I added sorts and multi-row tools to both sides. For each duplicate value, I create a unique row ID and then use that in my join. This allows you to join on each duplicate row that exists on both sides without creating a bunch of extra rows on the join.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phottovy_0-1653423437702.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/236403iFA7DAD295C9CFFAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phottovy_0-1653423437702.png" alt="phottovy_0-1653423437702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 20:19:03 GMT</pubDate>
    <dc:creator>phottovy</dc:creator>
    <dc:date>2022-05-24T20:19:03Z</dc:date>
    <item>
      <title>Retaining Duplicates in Comparison of 2 Files using Join Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Retaining-Duplicates-in-Comparison-of-2-Files-using-Join-Tool/m-p/943117#M231621</link>
      <description>&lt;P&gt;Alteryx Community - I am trying to compare two very similar files to determine if there are any records from one file that is not present in the other file (and vice versa).&amp;nbsp; Thus, using Join tool to identify "L" and "R" outputs. However, the issue with the two files is that there are multiple records that are exactly the same.&amp;nbsp; There is not a unique identifier in either file or even multiple fields that can be "concatenated" to make a unique identifier.&amp;nbsp; Further, there are "duplicates" of the same records in both files, but more importantly, these duplicate records cannot be removed through a Unique tool, as an example.&amp;nbsp; The data in each of these duplicate records is necessary to validate the total amount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, below, there are 7 records in the "L" and "R" input files. Two of the records are duplicates (B 9 and B($) 9). Cannot remove the duplicate record because the total sum at the bottom will be incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FChen1_0-1653422532801.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/236402i023BF335B22E4B65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FChen1_0-1653422532801.png" alt="FChen1_0-1653422532801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how I can compare the "L" and "R" input files, identify the "L" and "R" specific outputs, join them together to make the Final Desired Output?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:03:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Retaining-Duplicates-in-Comparison-of-2-Files-using-Join-Tool/m-p/943117#M231621</guid>
      <dc:creator>FChen1</dc:creator>
      <dc:date>2022-05-24T20:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining Duplicates in Comparison of 2 Files using Join Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Retaining-Duplicates-in-Comparison-of-2-Files-using-Join-Tool/m-p/943121#M231624</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/320624"&gt;@FChen1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is one possible option. I added sorts and multi-row tools to both sides. For each duplicate value, I create a unique row ID and then use that in my join. This allows you to join on each duplicate row that exists on both sides without creating a bunch of extra rows on the join.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phottovy_0-1653423437702.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/236403iFA7DAD295C9CFFAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phottovy_0-1653423437702.png" alt="phottovy_0-1653423437702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:19:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Retaining-Duplicates-in-Comparison-of-2-Files-using-Join-Tool/m-p/943121#M231624</guid>
      <dc:creator>phottovy</dc:creator>
      <dc:date>2022-05-24T20:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining Duplicates in Comparison of 2 Files using Join Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Retaining-Duplicates-in-Comparison-of-2-Files-using-Join-Tool/m-p/943185#M231648</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 21:27:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Retaining-Duplicates-in-Comparison-of-2-Files-using-Join-Tool/m-p/943185#M231648</guid>
      <dc:creator>FChen1</dc:creator>
      <dc:date>2022-05-24T21:27:20Z</dc:date>
    </item>
  </channel>
</rss>

