Alteryx Designer Desktop Discussions

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

Select records with data

Analytics_Pooja
8 - Asteroid

I have a data set where there are duplicates for some of the IDs. I want to select the one with all the information is available like phone number. 

 

Input  
IDNamePhone Number
1Robert 
1Robert1234567890
5Nancy9876545670
5Niel97543246790
7Riti9871236540
7Richerd 
   
   
Output  
IDNamePhone Number
1Robert1234567890
5Nancy9876545670
5Niel97543246790
7Riti9871236540
7Richerd 

 

Thanks for your kind help!

 

Best

Pooja 

3 REPLIES 3
JaeLim
Alteryx
Alteryx

Hi @Analytics_Pooja 

I have created a solution for this specific request, please refer to the workflow attached.

Please let me know if anything is unclear :)

binuacs
20 - Arcturus

@Analytics_Pooja you can use the summarize tool to achieve the result

binuacs_0-1646251990709.png

 

NeilParrott
8 - Asteroid

I worked on a workflow options that cleans the data first then you get your result sorted. Hope this help give you a different perspective to apply.

 

Option 1 - basic summary max to eliminate duplicates and sorts by ID and puts blank phone number fields towards bottom of ID stack:

NeilParrott_0-1646254923509.png

 

 

Option 2 - filter out rows one column at a time to eventually only give you rows that contain data in ALL fields.

-Note - you could take the 'True' output of each filter and union that all together to have the list of entries that contain missing data in one or more fields.

NeilParrott_1-1646254931560.png

 

Labels