Free Trial

Alteryx Designer Desktop Discussions

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

Compare two datasets similar to a matrix

ssripat3
8 - Asteroid

Hello community,

 

I have two datasets that look like below. Can you suggest the best way to do a one is to one comparison and identify the differences and maybe a new column which shows if the row is a Match across the other dataset.

 

Book Number/Store Code10111012
ABC12310.5
DEF123 2
GHI1231 

 

Book Number/Store Code10111012
ABC123 0.5
DEF123 2
GHI123 2

 

Expected Output

Book Number/Store Code10111012New_Book Number/Store CodeNew_1011New_1012Match?
ABC12310.5ABC123 0.5No
DEF123 2DEF123 2Yes
GHI1231 GHI123 2No


I am thinking of achieving it this way, do you think this is something that might work or if there is a better way of doing it?

Thank you

6 REPLIES 6
Verakso
11 - Bolide

I saw something like this in another post, perhaps it could help you on

 

2024-05-23 21_43_18-Alteryx Designer x64 - Compare Tables.yxmd.png2024-05-23 21_43_18-Alteryx Designer x64 - Compare Tables.yxmd.png

 

Br ()

Thomas

Raj
16 - Nebula

@ssripat3 
find the workflow attached hope this helps.

ssripat3
8 - Asteroid

Hello @Raj . Thank you for the solution and sorry for not explaining my real data. My dataset has around 200 columns with Store Code. In this scenario, what would be an ideal solution to compare?


Raj
16 - Nebula

@ssripat3 Can you please add some sample data for better understanding.

Raj
16 - Nebula

@ssripat3 the added method will work for N number of tables.

mark solutions done if solved

muhammad_bhatti
5 - Atom
 

try this

2024-05-24_9-48-02.png

Labels
Top Solution Authors