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

Alteryx Designer Desktop Discussions

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

Loop in dataset (string)

svergtanya
7 - Meteor

Hi, 

 

I have a string, that has agregaret statuses. How I can go through a dataset and identify all statuses codes, that I missing per every unique ID (column 'Missing')? Example is below

 

Example: 

ID StatusesMissing
123456789ABC, CPA, KLP, DROFKSL, KFS, ARS
987654321ABC, CPA, KLP, DRO, PRT, FKSL, KFSARS

 

 

 

3 REPLIES 3
PhilipMannering
16 - Nebula
16 - Nebula

You can have the complete list of statuses in a Text Input (or other file) and join on Statuses (once this has been split to rows using the Split to Columns Tool). All the statuses that don't Inner Join are missing. Then Summarize (and use concatenate) to list all these MIssing values in a single cell.

PhilipMannering
16 - Nebula
16 - Nebula

Hi @svergtanya 

 

See potential solution attached.

PhilipMannering_0-1605007729082.png

 

svergtanya
7 - Meteor

Thank you for the recommendation. It worked perfectly! 

Labels
Top Solution Authors