In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Comparision of two tables

praneshsapmm
8 - Asteroid

Hello ,

 

I have this requirement to write a formula : 

 

4 columns A , B , C  and D are a part of workflow . 

 

A = Sales Area

B = Jurisdiction 

C = email id of Sales Person 

D = copy of column c 

 

ABCD
SalesArea1SalesArea1aac@gmail.comaac@gmail.com
SalesArea2SalesArea5bbx@gmail.combbx@gmail.com
SalesArea3SalesArea3ccx@gmail.com ccx@gmail.com 
SalesArea5SalesArea5xsx@gmail.comxsx@gmail.com

 

 

My requirement is if A !=B then column D must be updated with the corresponding email id available for B .

 

ABCD
SalesArea1SalesArea1aac@gmail.comaac@gmail.com
SalesArea2SalesArea5bbx@gmail.comxsx@gmail.com
SalesArea3SalesArea3ccx@gmail.com ccx@gmail.com 
SalesArea5SalesArea5xsx@gmail.comxsx@gmail.com

 

Thanks

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@praneshsapmm 
Sorry. attached the files again.


Hope I get you right.

0415-praneshsapmm.PNG

PKoya
8 - Asteroid

Hi,

 

Looks fairly straightforward.

 

PKoya_1-1618474561323.png

 

 

 

PKoya_0-1618474499462.png

Hope this is the output you are trying to achieve. This should help in that case.

 

Thanks,

PK

 

praneshsapmm
8 - Asteroid

@Qiu @PKoya  ,

 

Ideally it should be something like this but not working for me .

 

D = if [A]!= [B] then [B(D)] else [D] endif .

 

Thanks

Qiu
21 - Polaris
21 - Polaris

@praneshsapmm 
 I believe that is what I and @PKoya ar trying to do.

or you can provide a larger dataset to validate?

Labels
Top Solution Authors