<?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 Conditional Join in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/907143#M220176</link>
    <description>&lt;P&gt;Hi guys—I’m trying to do a conditional join on Table A to 1 of 2 columns of Table B based on the value in Table A. Table A column has the following values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client ID&lt;/P&gt;&lt;P&gt;534&lt;/P&gt;&lt;P&gt;541&lt;/P&gt;&lt;P&gt;542&lt;/P&gt;&lt;P&gt;548&lt;/P&gt;&lt;P&gt;1305&lt;/P&gt;&lt;P&gt;549&lt;/P&gt;&lt;P&gt;578&lt;/P&gt;&lt;P&gt;579&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table B has the following 2 columns I want to possibly join on:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client ID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Profile ID&lt;/P&gt;&lt;P&gt;534 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 541&lt;/P&gt;&lt;P&gt;534 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 542&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1305&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 549&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 578&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 579&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I’m trying to do is this: If Table A Client ID = 534 or 548 then Join Table A Client ID on Table B Client ID else Join Table A Client ID on Table B Profile ID. Is this possible to do? Any help is greatly appreciated. Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 26 Feb 2022 01:54:41 GMT</pubDate>
    <dc:creator>anm252</dc:creator>
    <dc:date>2022-02-26T01:54:41Z</dc:date>
    <item>
      <title>Conditional Join</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/907143#M220176</link>
      <description>&lt;P&gt;Hi guys—I’m trying to do a conditional join on Table A to 1 of 2 columns of Table B based on the value in Table A. Table A column has the following values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client ID&lt;/P&gt;&lt;P&gt;534&lt;/P&gt;&lt;P&gt;541&lt;/P&gt;&lt;P&gt;542&lt;/P&gt;&lt;P&gt;548&lt;/P&gt;&lt;P&gt;1305&lt;/P&gt;&lt;P&gt;549&lt;/P&gt;&lt;P&gt;578&lt;/P&gt;&lt;P&gt;579&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table B has the following 2 columns I want to possibly join on:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client ID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Profile ID&lt;/P&gt;&lt;P&gt;534 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 541&lt;/P&gt;&lt;P&gt;534 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 542&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1305&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 549&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 578&lt;/P&gt;&lt;P&gt;548 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 579&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I’m trying to do is this: If Table A Client ID = 534 or 548 then Join Table A Client ID on Table B Client ID else Join Table A Client ID on Table B Profile ID. Is this possible to do? Any help is greatly appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 01:54:41 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/907143#M220176</guid>
      <dc:creator>anm252</dc:creator>
      <dc:date>2022-02-26T01:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Join</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/907681#M220409</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/311992"&gt;@anm252&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All joins are conditional really, in this case you can just do 2 joins one after the other.&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="Ben_H_0-1646064996483.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/224413iA95195203E1F627D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_H_0-1646064996483.png" alt="Ben_H_0-1646064996483.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For the first join, join on Client ID - Client ID (Assuming you don't want a cross join, and just the first record to match make unique first).&lt;/P&gt;&lt;P&gt;Then of the records that don't match (left output anchor) join on Client ID - Profile ID then union the two streams.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 16:21:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/907681#M220409</guid>
      <dc:creator>Ben_H</dc:creator>
      <dc:date>2022-02-28T16:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Join</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/907833#M220448</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/311992"&gt;@anm252&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;What will be your output looking like?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 22:57:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/907833#M220448</guid>
      <dc:creator>Qiu</dc:creator>
      <dc:date>2022-02-28T22:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Join</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/910061#M221582</link>
      <description>&lt;P&gt;Hi Ben--sorry for the slow response. This ended up working with a few additional conditions. Thankyou very much.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 22:18:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Conditional-Join/m-p/910061#M221582</guid>
      <dc:creator>anm252</dc:creator>
      <dc:date>2022-03-04T22:18:31Z</dc:date>
    </item>
  </channel>
</rss>

