Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Replicating records based on content value in string

AmrithKandlur
7 - Meteor

Hi All,

 

In addition to that, I have a challenge with the following scenario.

 

Name,age,Range

John,28,TJY00783 HULB002-TJY00783 HULB004

Mark,32,Sydney,TJY00456 HULB002-TJY00456 HULB006

 

I want the data to be like the below

Name,age,Range

John,28,TJY00783 HULB002

John,28,TJY00783 HULB003

John,28,TJY00783 HULB004

Mark,32,Sydney,TJY00456 HULB002

Mark,32,Sydney,TJY00456 HULB003

Mark,32,Sydney,TJY00456 HULB004

Mark,32,Sydney,TJY00456 HULB005

Mark,32,Sydney,TJY00456 HULB006

 

Alteryx should recognize that there is a "-" in the range text, then consider using the last three characters of the text before the - and last three characters after the - and split the records as above.

 

5 REPLIES 5
flying008
15 - Aurora

Hi, @AmrithKandlur 

 

Just like this  as your want?

 

录制_2022_07_29_09_26_35_780.gif

AmrithKandlur
7 - Meteor

Yes Please, Could you please share this workflow?

grazitti_sapna
17 - Castor

@AmrithKandlur, give this a try.

grazitti_sapna_0-1659069853015.png

I hope this works!

 

Thanks!

Sapna Gupta
AmrithKandlur
7 - Meteor

Yes Please, Could you please share this workflow?

AmrithKandlur
7 - Meteor

ok, I got the workflow downloaded

Labels
Top Solution Authors