Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Table Output Query

clarrock
8 - Asteroid

Hi alteryx

I am trying to get an output where alteryx will check a common ID identify an RIT and RCT codes and create a table for only those names

 

Input File:

 

NameID
ADCB SR7 RIT45670
SHR HUI RCT69090
FHYTRCT HI RCT78970
HIT RCT RWI T68970
HKIY JOU YU43
DKI RIT47990
JOE 679 HUI T82989

I trying to make alteryx find common org IDs and take only RCT and RIT numbers

 

Output Req:

IDRCTRIT
70789456
90690479

 

Please help

4 REPLIES 4
apathetichell
19 - Altair

Can you provide a jot more detail on how the combos are determined... like does it have to be a three letter/three digit combo which matches up?

 

So HIT RCT RWI T689 isn't split up - right? and apparently the ones you are looking for are the only 3 letter/3 number combos with no space separating them? Should we assume that's random or reflective of the actual dataset?

apathetichell
19 - Altair

This matches your output - but I think there might be more to what you need.

clarrock
8 - Asteroid

@apathetichell RIT and RCT are the same the digits post that could vary.. Sometimes 1 digit to 5 digits.

T with digits should be ignored. Also there might be digits in the Name eg HIT 7-JU T689 those should also be ignore if there's no RIT+digits and RCT+digit (no space) 

apathetichell
19 - Altair

So does the workflow I posted make sense?

 

It matches your output and does ID/RIT/RCT and the corresponding number matches.

Labels
Top Solution Authors