Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Find Newly Added Names

BRRLL99
11 - Bolide

Hi,

 

i have two tables with with 2000 rows each

 

TABLE-1

 

NAMECOUNTRY
APPLEUSA
AMAZONUSA
SAMSUNGSOUTH KOREA
BANK OF CHINACHINA

 

TABLE-2

 

NAMECOUNTRY
APPLEUSA
AMAZONUSA
SAMSUNGSOUTH KOREA
NutrienCanada
KIASouth Korea

 

EXPECTED OUT-PUT:

 

NAMECOUNTRYSTATUS
NutrienCanadaNewly Added
KIASouth KoreaNewly Added
APPLEUSAPresent Previously
AMAZONUSAPresent Previously
SAMSUNGSOUTH KOREAExcluded
3 REPLIES 3
DavidSkaife
13 - Pulsar

Hi @BRRLL99 

 

One way of doing this:

 

DavidSkaife_0-1660812005583.png

 

IraWatt
17 - Castor
17 - Castor

Hey @BRRLL99,

You will have to explain the rules here. Why is does SAMSUNG South Korea have status Excluded but APPLE USA is status Newly Added?

DataNath
17 - Castor
17 - Castor

Here's how I'd approach it. Though from your example, I'm not sure why Samsung has been marked 'Excluded', and you no longer have the Bank of China? Is there any logic behind this or just not a comprehensive list in your desired output?

 

DataNath_0-1660812169984.png

Labels