Free Trial

Alteryx Designer Desktop Discussions

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

Finding duplicates against a constant column

Bhoomika_Rasquinha
6 - Meteoroid

I have a list of vendor names and addresses
I need to match based on the same address name but different vendor names

For example if this is my sample input data:

 

Vendor NameStreetCityCodes
AdobeOrchard ParkwaySan Jose95134
CiscoPark AveSan Jose 95110
SalesforceSan AvenueSan Jose95119
AlteryxWest DriveSan Jose95134
UiPathAlameda streetSan Jose95126

 

How do I solve this?

8 REPLIES 8
messi007
15 - Aurora
15 - Aurora

@Bhoomika_Rasquinha,

 

Not sure that I undrestand well your need. What about using a unique tool 

 

messi007_0-1680538796431.png

 

If this does not answer your question please explain what you expect to get it will help to give you the solution.

 

Regards,

Bhoomika_Rasquinha
6 - Meteoroid

Hello, 

Thank you for taking time out to answer my query
But no, using the unique tool won't help me in this case

If this is my input:

 

Vendor NameCityStreetPO
ABCBombayGOI1234
XYZDelhiIG5678
QRSBombayGOI1234

 

This is the desired output:

Vendor NameCityStreetPOFlag
ABCBombayGOI1234U
XYZDelhiIG5678D
QRSBombayGOI1234U
ShankerV
17 - Castor

Hi @Bhoomika_Rasquinha 

 

One way of doing this....

 

ShankerV_0-1680603383992.png

 

Many thanks

Shanker V

Bhoomika_Rasquinha
6 - Meteoroid

Hi Shanker_V,

Thank you for taking the time out and offering to help

That did not work either
Let me explain it a little more

Input:

NameCityStreetPO
Calix, Inc.San Jose2777 Orchard Parkway95134
Adobe Inc.San Jose345 Park Ave95110
Infinera CorporationSan Jose6373 San Ignacio Avenue95119
Cisco Systems, IncSan Jose170 West Tasman Drive95134
Richard BlissSan Jose1346 The Alameda Ste 7-11395126
United Parcel Service, IncAtlanta55 Glenlake Pkwy NE30328
UPS Supply Chain Solutions, Inc.AtlantaAtlanta

30328

    

 

Output:

 

NameCityStreetPOResult
Calix, Inc.San Jose2777 Orchard Parkway95134D
Adobe Inc.San Jose345 Park Ave95110D
Infinera CorporationSan Jose6373 San Ignacio Avenue95119D
Cisco Systems, IncSan Jose170 West Tasman Drive95134D
Richard BlissSan Jose1346 The Alameda Ste 7-11395126D
United Parcel Service, IncAtlanta55 Glenlake Pkwy NE30328U
UPS Supply Chain Solutions, Inc.AtlantaAtlanta

30328

U

     

 

ShankerV
17 - Castor

Hi @Bhoomika_Rasquinha 

 

As per the requirement all the city which falls under different name should be D and then with one city is U right.

 

Can you explain why for Atlanta it is U instead of D, as it has 2 different names. I can help tweaking the code according to your requirement.

 

United Parcel Service, IncAtlanta55 Glenlake Pkwy NE30328U
UPS Supply Chain Solutions, Inc.AtlantaAtlanta

30328

U

Bhoomika_Rasquinha
6 - Meteoroid

Hi,

I need to perform matching based on different names but same address

U and D is for convenience 

ShankerV
17 - Castor

Hi @Bhoomika_Rasquinha 

 

Sorry I didn't get your requirement clearly.

Its unclear what I need to assign with different names and same address.

What to assign if it has only same address and name.

 

What to do if many different names and address are there.

 

 

Bhoomika_Rasquinha
6 - Meteoroid

I am sorry but I don't have any information either on that at the moment

Here is what I can tell you

I need to find name duplicates, under that I need to 

For dups, we can do the following matches

Matching based on same address but different names

Hope this helps 

Labels
Top Solution Authors