Start Free Trial

Alteryx Designer Desktop Discussions

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

Comparison of fields in same sheet

rachana19
8 - Asteroid

Hi All,

 

I am working on a use case where I have below sample data -

 

MainSource 1Source 2Source 3
NameCityCountryNameCityCountryNameCityCountryNameCityCountry
JonHamburgGermanyJonHamburgGermanyJonHamburgGermanyJonHamburgGermany
EvanMumbaiIndiaRiyaBangaloreIndiaEvanMumbaiIndiaEvanMumbaiIndia
LilySydneyAustraliaLilySydneyAustraliaThomasMilanItalyGarySydneyAustralia

 

Here I need to compare the main section with all sources - source 1, source 2 and source 3.

For e.g., Compare Name in Main with Name in Source 1, Source 2 and Source 3. If matches write Source 1 Name value in output in green color

For e.g., Compare City in Main with City in Source 1, Source 2 and Source 3. If does not match write Source 1 City value in output in red color

 

There are more scenarios. But to start with, could you please help me to understand what would be the best approach?

Shall I first split input file to 4 different inputs then compare? Or can I do it keeping them in same input.

 

Thanks a lot,

Rachana 

5 REPLIES 5
rachana19
8 - Asteroid

rachana19_0-1589365657215.png

Putting sample data again in image format as earlier format is not correct

rachana19
8 - Asteroid

Hi All,

 

Could anyone please help in this regard?

atcodedog05
22 - Nova
22 - Nova

Hi @rachana19 ,

 

Quick fix.

Change the "start data import on line" in the input tool configuration to 2. Like below.

atcodedog05_0-1589437406835.png

The data will be transformed to like below which will be easy for manipulation and applying condition.

atcodedog05_0-1589438509505.png

 

Hope this helps

 

Cheers and Happy Analyzing 🙂

 

deepaksadija85
6 - Meteoroid

Could you share the sample data source in excel.

rachana19
8 - Asteroid

Thanks for the solution. I could use this to compare the fields from the same source.

Labels
Top Solution Authors