Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Conditional join for Dynamic Columns

Lokeshwar
7 - Meteor

Hi,

I need to replace the values in Left Table containing Dynamic columns with a Right Mapping Table only when the column values in the Mapping table is Not NULL. In case value of a column in Right Mapping table is NULL, the Left Table Dynamic column values remain as it is (not replaced by right table). Below is an example -

 

Left Table with Dynamic Date columns -

Pri Gci No_Client06_01_201907_01_201908_01_201909_01_201910_01_201911_01_201912_01_2019  
998652887 1234  834179.26     
335538317784212.81313886.4914195.327924.8914195.313998.4834920.69  
          

 

Right Mapping Table -

Pri Gci No_Client06_01_201907_01_201909_01_2019
998652887  11801.03
33553831716490514195 

 

Desired Output -

Pri Gci No_Client06_01_201907_01_201908_01_201909_01_201910_01_201911_01_201912_01_2019  
9986528871234  11801.03     
3355383171649051419514195.327924.8914195.313998.4834920.69

 

Thank you

Lokeshwar

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @Lokeshwar 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1605763244000.png

Workflow:

atcodedog05_1-1605763265514.png

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Qiu
20 - Arcturus
20 - Arcturus

@Lokeshwar 
A bit different approach with @atcodedog05 . Hope you like it as well.

1119-Lokeshwar.PNG

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @Lokeshwar 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any other issues 🙂

Qiu
20 - Arcturus
20 - Arcturus

@Lokeshwar 
Thanks for the accept mark.

Lokeshwar
7 - Meteor

Thank you for your quick response.

Labels