Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Comparing Data from Two Columns


Hi...I'm trying to compare data from two columns in one dataset. In other words, I need to understand if the data in BA45=BC45 and then filter out the data that matches to only view the non-matching data. In Excel I created a new column and wrote the following formula:




I would then filter out all the "True" data.


I know there is a better way to do this! Big thanks in advance to any help!

Alteryx Certified Partner
Alteryx Certified Partner

Use a filter tool with the following formula where [Field1] and [Field2] are the columns of interest.




The filter tool will return the results where this condition is true to the "T" output and false to the "F" output. Note that the fields will need to be the same type to be compared (numeric to numeric, string to string, etc.). If necessary, you can force both fields to be strings using this formula:



Thank you! This worked perfectly! 


 Is there a way to print the results separating the "true" from the "false" in two .csv file?