Alteryx Designer Desktop Discussions

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

comparing several files

lerben
6 - Meteoroid

Hi all,

 

I have following problem. I would like to compare several tables.

 

I have a short listed table 

NamecategorystageFeature 1Feature 2Feature 3
AAAAaaXY 

 

that I would like to compare to a long listed table

NamecategorystageFeature 1Feature 2Feature 3
DAAAbbXK 
EBBBccXYZ
FAAAaaVKJ
AAAAaaXY 

 

using a third table with feature relationships

Feature 1Feature 2Feature 3Feature 4
XYZK
VKJ 

 

 

the output should be the short listed table with additional columns

NamecategorystageFeature 1Feature 2Feature 3same_aasame_bbsame_ccrelated_aarelated_bbrelated_cc
AAAAaaXY 010100

 

the additional columns should one based on the following criteria form the long list and feature relationship:

- exclude the one with the same name

- only consider lines within the same category

- sum up by stage names that have same or related features

- same feature is when the line has one of the same features

- related feature is when the line has a related feature based on the related features table (e.g. F is related to A) 

- lines considered as same should not be accounted in related any longer

 

Of course I have more than just one line / features etc.

 

I would be super helpful for some general input on how to compare different sheet, workflow would be of course appreciated too 🙂

 

Thanks, -L

2 REPLIES 2
RishiK
Alteryx
Alteryx

@lerben have you tried to read in the individual sheets via separate Input tools.  Then join the data, apply your criteria and bring in the additional columns?

 

If you want, book a Virtual Session and we can get you started:

https://community.alteryx.com/t5/Virtual-Solution-Center/tkb-p/vsc

lerben
6 - Meteoroid

Thx, I got it solved in the mean time.

-L

Labels
Top Solution Authors