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

Extracting strings from rows

Kuldeepmathur
8 - Asteroid

HI,

 

Need to extract Id and their belonging location. I am able to extract Ids but could not be able to map the location to the specific Id.

Kuldeepmathur_0-1648838627421.png

 

Expected results : 

Texas  22

Texas  24

 

Thanks,

Kuldeep

 

4 REPLIES 4
JarekSkudrzyk
11 - Bolide

@Kuldeepmathur hi, please take a look at my solution - does it solve your problem?

JarekSkudrzyk_0-1648841601024.png

 

Tyro_abc
11 - Bolide

@Kuldeepmathur  here is my try, I tried to make it dynamic. This should work even if you have different digits in user ids or more than one "Or" clause. 

 

Input 1

Tyro_abc_0-1648851312961.png

Input 2: ( Alpha-Numeric)

Tyro_abc_2-1648851475138.png

 

Output 1

Tyro_abc_1-1648851349086.png

 

Output 2( Alpha-Numeric)

Tyro_abc_3-1648851553301.png

 

 

Regards

Arundhuti

Tyro_abc
11 - Bolide

Slightly modified version ( two different containers have two different versions) 

 

 

Tyro_abc_0-1648853248272.png

 

Regards

Arundhuti

 

Kuldeepmathur
8 - Asteroid

Thanks Everyone :)

Labels
Top Solution Authors