Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

HELP : How to compare data in multiple columns in a single dataset?

tarunIMDG
7 - Meteor

I am trying to compare a huge dataset consisting of (Old vs New records) across 973,000 rows and 85 columns in my dataset.

I already tried using the transpose tool (which is not helpful as its creating over 27 million rows) and I dont want to create 85 columns separate columns for each comparison using the formula tool. 

So, is there a quicker way to calculate the Match or Mismatch result in a new column? 

 

Sample data is shown in screenshot and the desired output is shown below -

 

Column AColumn BVariance/ DELTA/ ComparisonColumn CColumn DVariance/ DELTA/ Comparison
1020MismatchApplesApplesMatch
55MatchBananaStrawberryMismatch
3735MismatchKaleCeleryMismatch
100100MatchMangoMangoMatch

 

tarunIMDG_1-1650966849049.png

 

1 REPLY 1
mbarone
16 - Nebula
16 - Nebula

You've already discovered it - the Transpose tool.  I do it regularly for delta checks with over 100 million rows.  Alteryx should be able to handle that just fine (assuming you have the recommended RAM and CPUs).  The only other way I can think of would be a batch macro where it transposes one column at a time and combines the results.

Labels
Top Solution Authors