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.

Find matches in one column and combine data from another column

Aaron_Bowen
7 - Meteor

Hi,

 

I need some help please :) I have a workflow that contains a unique identifier (national Provider Identifier) in one column: 

 

Aaron_Bowen_0-1684174639395.png

 

and another column with a specialty type: 

 

Aaron_Bowen_1-1684174695544.png

 

There are duplicate NPIs in the data with different specialty types. I need a tool or formula to find matches in the column with unique identifiers and combine the values in the specialty types (while also removing duplicate values in that concatenated cell). 

 

Thanks, 

 

Aaron 

5 REPLIES 5
binuacs
21 - Polaris

@Aaron_Bowen Can you provide the expected result ?

Aaron_Bowen
7 - Meteor

The expected result would be comma separated values in the Specialty Type for matching NPIs: 

Aaron_Bowen_0-1684175381196.png

 

geraldo
13 - Pulsar

@Aaron_Bowen 

 

I believe that the Tile tool can meet your need

geraldo_0-1684175648457.png

 

Aaron_Bowen
7 - Meteor

Hi Geraldo, 

 

Thanks for replying so quickly. The Tile Tool does exactly what you showed in the picture when I did it with my data (see below):

Aaron_Bowen_0-1684176801148.png

 

However, I'm not sure where to go from there. I need the Specialty Type values combined in a single column like this: 

 

Aaron_Bowen_1-1684176852235.png

Any idea how to make that happen? 

 

Thanks, 

 

Aaron 

geraldo
13 - Pulsar

@Aaron_Bowen 

 

 

This tool can be helpful.

I noticed that the "," can be the text separator.

You may need to clean up whitespace at the start

 

 

 

 

geraldo_0-1684179377071.png

geraldo_1-1684179402715.png

 

Labels