<?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: Check if values in one column exist in another and update a third. in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337160#M61361</link>
    <description>&lt;P&gt;Ah I had assumed unique column A and B.&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="2018-12-03_20-43-54.png" style="width: 548px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/49736i9618E96EEE92ADFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-12-03_20-43-54.png" alt="2018-12-03_20-43-54.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A minor adjustment - summarise B to unique values should fix&lt;/P&gt;</description>
    <pubDate>Mon, 03 Dec 2018 20:44:32 GMT</pubDate>
    <dc:creator>jdunkerley79</dc:creator>
    <dc:date>2018-12-03T20:44:32Z</dc:date>
    <item>
      <title>Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337007#M61334</link>
      <description>&lt;P&gt;I am new to Alteryx and cannot find a solution for this. We have three columns of data:&lt;/P&gt;&lt;P&gt;Column A is the ID&lt;BR /&gt;Column B is Parent's ID (like hierarchy)&lt;/P&gt;&lt;P&gt;Column C is the Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each row, we need to lookup if Column A exist anywhere in Column B, and overwrite Column C with a new value if this is True. If not, no change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Row&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;215&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Associate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;122&lt;/TD&gt;&lt;TD&gt;215&lt;/TD&gt;&lt;TD&gt;Associate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;554&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Manager&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this example, because "215" is showing in B, we would want the Value C in Row 1 to update to "Manager". All other values in C would need to stay the same.&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;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 19:09:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337007#M61334</guid>
      <dc:creator>DMDingo</dc:creator>
      <dc:date>2018-12-03T19:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337038#M61339</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/61001"&gt;@DMDingo&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you give us an example of how your data looks like?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's possible, but I wanna know one thing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ex., if Parent ID is "112", and ID is "12", you have "12" present on Column B....then you want to overwrite column C with which value?&lt;/P&gt;&lt;P&gt;Is that the situation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 18:47:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337038#M61339</guid>
      <dc:creator>Thableaus</dc:creator>
      <dc:date>2018-12-03T18:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337045#M61341</link>
      <description>&lt;P&gt;Based on what you described:&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="2018-12-03_18-58-47.png" style="width: 466px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/49719i4F3C9B13BD1ADE38/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-12-03_18-58-47.png" alt="2018-12-03_18-58-47.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Self join the data to itself (A to B)&lt;/P&gt;&lt;P&gt;2. L output is stuff not preset, J output is stuff present&lt;/P&gt;&lt;P&gt;3. Use a formula tool to manipulate column C&lt;/P&gt;&lt;P&gt;4. Use a union tool to put it back together&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample attached but if you can post some fake data easier to get closer&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 18:59:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337045#M61341</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2018-12-03T18:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337065#M61343</link>
      <description>&lt;P&gt;I have added a little example table in the question.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 19:10:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337065#M61343</guid>
      <dc:creator>DMDingo</dc:creator>
      <dc:date>2018-12-03T19:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337067#M61344</link>
      <description>&lt;P&gt;Thanks for the info. I have added an example table in the question. Would this still work?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 19:11:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337067#M61344</guid>
      <dc:creator>DMDingo</dc:creator>
      <dc:date>2018-12-03T19:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337072#M61348</link>
      <description>&lt;P&gt;Yep works fine - have updated the sample&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 19:34:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337072#M61348</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2018-12-03T19:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337118#M61355</link>
      <description>&lt;P&gt;EDIT - For some reason it was duplicating the rows. Added Unique before the Formula and fixed it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, this was close but did cause some issues with the output.Can you run this for this data set? In this case we would see 123 in B and update the top to to "Parent".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Unknown&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Unknown&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;154&lt;/TD&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Child&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;554&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Parent&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;554&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Parent&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we have are multiple rows that share the same group, and the group needs to be updated across them. When I ran this on the data set, I went from 89,000 rows to 1.7 million.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, updated your workflow and it still works. What would be causing our number to sky rocket?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 20:32:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337118#M61355</guid>
      <dc:creator>DMDingo</dc:creator>
      <dc:date>2018-12-03T20:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check if values in one column exist in another and update a third.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337160#M61361</link>
      <description>&lt;P&gt;Ah I had assumed unique column A and B.&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="2018-12-03_20-43-54.png" style="width: 548px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/49736i9618E96EEE92ADFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-12-03_20-43-54.png" alt="2018-12-03_20-43-54.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A minor adjustment - summarise B to unique values should fix&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 20:44:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Check-if-values-in-one-column-exist-in-another-and-update-a/m-p/337160#M61361</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2018-12-03T20:44:32Z</dc:date>
    </item>
  </channel>
</rss>

