Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Simplify the formula

luo
8 - Asteroid

Hi everyone,

 

I am trying to do the reconciliation of two dataset as below

Dataset 1:

DateNo.ABC
202209011a1b1c1
202209022a2b2c4
202209033a3b5c5

 

Dataset 2:

 

DateNo.ABC
202209011a1b1c1
202209022a2b2c2
202209033a3b3c3

 

After join 2 dataset with Date and No., I got the table

 

DateNo.ABCRight ARight BRight C
202209011a1b1c1a1b1c1
202209022a2b2c4a2b2c2
202209033a3b5c5a3b3c3

 

I want to compare Column A and Column Right A, Column B and Column Right B, Column C and Column Right C.

The output I want is:

DateNo.ABCRight ARight BRight CCheck
202209011a1b1c1a1b1c1Good
202209022a2b2c4a2b2c2C
202209033a3b5c5a3b3c3B&C

 

 

I know I can achieve this using formula IFELSE, but in that case, I will need include all 9 possible situations. Is there a easy way to do that? Thanks

6 REPLIES 6
binuacs
20 - Arcturus

@luo One way of doing this

 

binuacs_0-1663826528734.png

 

Qiu
20 - Arcturus
20 - Arcturus

@luo 
I think this is a dynamic way, can handle any number of situations.
Assume you can have a full join between Dataset 1 and 2. 😁

0922-luo.PNG0922-luo-1.PNG

luo
8 - Asteroid

Hi @binuacs, Thanks so much for sharing your thoughts here. I believe your last configuration on the Output Column of formula tool would be Check not Right C. And this kind of complicating the process but thanks!

binuacs
20 - Arcturus

@luo you are right, I changed the field name in the workflow, thanks for catching it

 

binuacs_0-1663827381476.png

 

luo
8 - Asteroid

Thanks @Qiu , I think this probably the best solution. The only problem is if I got a full join. Let me try to filter my data. 

Qiu
20 - Arcturus
20 - Arcturus

@luo 
Thank you for the feedback.😁

Labels