<?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: Delete Rows in File 1 based on unique ID match in file #2 in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64879#M23482</link>
    <description>&lt;P&gt;Attached is what&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/6862"&gt;@Chrispy&lt;/a&gt;&amp;nbsp;describes&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="join.png" style="width: 354px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/18058iDB3A68C433CD9D11/image-size/large?v=v2&amp;amp;px=999" role="button" title="join.png" alt="join.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2017 19:29:49 GMT</pubDate>
    <dc:creator>Joe_Mako</dc:creator>
    <dc:date>2017-06-15T19:29:49Z</dc:date>
    <item>
      <title>Delete Rows in File 1 based on unique ID match in file #2</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64753#M23480</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got 2 files that i'm trying to cross check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File #1 contains a large amount of data, inclusive of rows of data (identified via a Unique ID) that are irrelevant for my purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File #2 contains a list of all relevant unique ID's that i'd like to keep (alternatively i also have file #3 that has all irrelevant Unique IDs)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i'm trying to do is cross check File #1 against File #2 and delete all rows in File #1 with Unique Id's not within File #2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;File #1&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Unique ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Description&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Amount&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;123.XYZ&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;223.ABC&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test 1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;345.123&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test 2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File #2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Unique ID&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;223.ABC&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;345.123&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;File #1&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Unique ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Description&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Amont&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;223.ABC&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test 1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;345.123&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test 2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 24 May 2018 03:51:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64753#M23480</guid>
      <dc:creator>lhew2998</dc:creator>
      <dc:date>2018-05-24T03:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows in File 1 based on unique ID match in file #2</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64754#M23481</link>
      <description>&lt;P&gt;If you connect the two files using the join tool, joining on the unique ID, then center output should be what you are looking for - it'll be everything from file #1 (the left input) that had a match found in file #2 (the right input).&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 12:56:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64754#M23481</guid>
      <dc:creator>Chrispy</dc:creator>
      <dc:date>2017-06-15T12:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows in File 1 based on unique ID match in file #2</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64879#M23482</link>
      <description>&lt;P&gt;Attached is what&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/6862"&gt;@Chrispy&lt;/a&gt;&amp;nbsp;describes&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="join.png" style="width: 354px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/18058iDB3A68C433CD9D11/image-size/large?v=v2&amp;amp;px=999" role="button" title="join.png" alt="join.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 19:29:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64879#M23482</guid>
      <dc:creator>Joe_Mako</dc:creator>
      <dc:date>2017-06-15T19:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows in File 1 based on unique ID match in file #2</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64927#M23483</link>
      <description>&lt;P&gt;Hi Both,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry, I may have misrepresented the ID portion of my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual ID i'm filtering on is an account number (rather than a unique line number)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as such there may be 100,000 lines associated to this account number that I need deleted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the join workflow comparing my 2 files, the output is only 2,000 lines long as it is taking the first 2,000 instances of this account filter, rather than 1,000,000 that I expect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given that the Unique id (per file #2) is not unique to each line in File #1, is there a way to delete all rows in file 1 with that account number?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;File #1&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Line ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Account ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Description&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Amount&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;123.XYZ&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;123.100&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;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TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;223.ABC&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;123.200&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test 1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;345.123&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;123.200&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;test 2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 15 Jun 2017 23:22:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64927#M23483</guid>
      <dc:creator>lhew2998</dc:creator>
      <dc:date>2017-06-15T23:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows in File 1 based on unique ID match in file #2</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64928#M23484</link>
      <description>&lt;P&gt;I think I misunderstood what you were initially trying to do, however, I still believe joining the two files on the account ID is the way to go.&amp;nbsp;Assuming you connect file #1 to the left input, and file #2 to the right, the three outputs should give you the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Left output: all account IDs&amp;nbsp;from file #1 that did not have a matching account ID in file #2&lt;/P&gt;&lt;P&gt;Join (center) output: all account IDs that appear in both file #1 and file #2&lt;/P&gt;&lt;P&gt;Right output: all account ID's from file #2 that did not have a matching account ID in file #1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, I think the left output is what you are looking for. Anything from file #1 that has an account ID contained in file #2 will be sent to the Join (center) output, leaving only file #1 account IDs without a match in the left output. If this is not the case, let me know, and we can try to troubleshoot the problem further.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 00:16:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64928#M23484</guid>
      <dc:creator>Chrispy</dc:creator>
      <dc:date>2017-06-16T00:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows in File 1 based on unique ID match in file #2</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64933#M23485</link>
      <description>&lt;P&gt;Solved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;realised it was actually a problem with my File #2 that was causing my problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks so much!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 06:51:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-Rows-in-File-1-based-on-unique-ID-match-in-file-2/m-p/64933#M23485</guid>
      <dc:creator>lhew2998</dc:creator>
      <dc:date>2017-06-16T06:51:52Z</dc:date>
    </item>
  </channel>
</rss>

