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:
Client ID
534
541
542
548
1305
549
578
579
Table B has the following 2 columns I want to possibly join on:
Client ID Profile ID
534 541
534 542
548 1305
548 549
548 578
548 579
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.