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. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

comparing multiple fields within a table

jogianni
7 - Meteor

I am joining two tables on a single field. They both contain address city state and zip information. I would like to compare each field and set a flag if they are not the same. Example if address and right_address don't match for the same ID, then address_change field would be set to 1.

 

I've guessed the first step is a simple join on the ID. After that, is there a way to do this in one or two steps? or is it just one long multi-field formula?

2 REPLIES 2
Greg_Murray
12 - Quasar

Hi, 

 

see below. You can add a formula tool after the join tool (not pictured) and use an if statement to indicate whether the address fields contain the same value. 

 

Capture.JPG

 

Hope that helps.

 

Greg

jogianni
7 - Meteor

Hi Greg,

 

Yes thank you for the response. I figured I could do it with a formula but I was just wondering if there was a pre-built 'compare' tool I wasn't aware of.

 

 

Labels
Top Solution Authors