Free Trial

Alteryx Designer Desktop Discussions

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

Remove and move the value in the cell

k3pineapple
8 - Asteroid

Hi,

 

I am trying to use this dataset to join another set by using  "SubMapping" field, but it's too dirty to use. 

Therefore, will be much appreacited to help me getting this cleaned.

 

 

Input

IDCompanyProductMappingSubMapping
1ABCAppleabcdefg{ABC.abcdefg} {BCD.abcdefg}
2CDEBananacdfghij{ABC.cdfghij^bkcdef}
3FGHOranageaaa bbb cc{BCD.aaa bbb cc}
4AAABerryaaa ccc dd{ABC.aaa bbb cc^qwertyu} {BCD.aaa bbb cc} {DEF.aaa bbb cc}

 

Output

IDCompanyProductMappingSubMappingSubMapping_RHeader
1ABCAppleabcdefg{ABC.abcdefg} {BCD.abcdefg}abcdefgABC
1ABCAppleabcdefg{ABC.abcdefg} {BCD.abcdefg}abcdefgBCD
2CDEBananacdfghij{ABC.cdfghij^bkcdef}cdfghijABC
2CDEBananacdfghij{ABC.cdfghij^bkcdef}bkcdefABC
3FGHOranageaaa bbb cc{BCD.aaa bbb cc}aaa bbb ccBCD
4AAABerryaaa ccc dd{ABC.aaa bbb cc^qwertyu} {BCD.aaa bbb cc} {DEF.aaa bbb cc}aaa bbb ccABC
4AAABerryaaa ccc dd{ABC.aaa bbb cc^qwertyu} {BCD.aaa bbb cc} {DEF.aaa bbb cc}qwertyuABC
4AAABerryaaa ccc dd{ABC.aaa bbb cc^qwertyu} {BCD.aaa bbb cc} {DEF.aaa bbb cc}aaa bbb ccBCD
4AAABerryaaa ccc dd{ABC.aaa bbb cc^qwertyu} {BCD.aaa bbb cc} {DEF.aaa bbb cc}aaa bbb ccDEF

 

1 REPLY 1
Yoshiro_Fujimori
15 - Aurora

Hi @k3pineapple ,

 

I could not keep the Original [SubMapping] value as it was lost in the 1st RegEx tool.

If you really need it, it can be retrieved by joining with original table with [ID].

I hope this may be of some help.

 

Workflow

Yoshiro_Fujimori_2-1683198844442.png

 

RegEx (1st) configuration

Yoshiro_Fujimori_0-1683198706668.png

 

RegEx (2nd) configuration

Yoshiro_Fujimori_1-1683198795308.png

 

Labels
Top Solution Authors