Start Free Trial

Alteryx Designer Desktop Discussions

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

How to drive Prefix, base and suffix for the part number - Base should start with Number

MaheshR
7 - Meteor
  Manual Working Results
  
Details LenPrefixBaseSuffix
WXXSBA 60WXXSBA
38xxxxS 7 3xxxxxS
N805X44S 8 N805XXXS
D2TZ119XX 9D2TZ11XXX
F3DC733XXX 10F3DC7335XXX
JX7A22053UA 11JX7A22053UA
ML3B600C06EE 12ML3B600C06EE
FT1T14K733ZDD 13FT1T14K733ZDD
9L147202BD3JA6 149L147202BD3JA6
DC343F832DC35B8 15DC343F832DC35B8
8A5313E709AA35B8 168A5313E709AA35B8
NL3B1564417GC31Y6 17NL3B1564417GC31Y6
DA5354237W21AE3DN1 18DA5354237W21AE3DN1
FL3B18519A58LAF3ZHE 19FL3B18519A58LAF3ZHE
AMHC3J99501A42AA52CP 20AMHC3J99501A42AA52CP
13 REPLIES 13
alexnajm
18 - Pollux
18 - Pollux

You need to give us more information to help. For example, you say "Base should start with Number" but your third row doesn't end up starting with a number? Also it's unclear how to determine the prefix from the base from the suffix - there's no logical way like length of characters to determine this

alexnajm
18 - Pollux
18 - Pollux

@MaheshR any more info?

MaheshR
7 - Meteor

Only if the length of part number is greater than  = 10 we can create prefix, base and suffix.  Base should not contain any alphabet and Suffix should not start with Number.  I have done the manual working based on Length of Part Number. Like same way I need to do it in Altreyx.  Kindly support. Let me know in case of any clarification.  

caltang
17 - Castor
17 - Castor

I'm with @alexnajm on this. @MaheshR I still don't understand your ask... can you tell us what you are looking for exactly?

 

Perhaps give us a sample output of what you are looking to achieve? Also, what have you tried manually? We can see that and either replicate / automate via Alteryx.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
alexnajm
18 - Pollux
18 - Pollux

@MaheshR we need a patterned, logical way to split your string into the three parts - otherwise we can assist no further

MaheshR
7 - Meteor

Please find the manual working sheet, I have attached details as requested. 

alexnajm
18 - Pollux
18 - Pollux

There are still no consistent rules for anything under 10 digits, but for anything above 10 digits you can mimic your Excel formulas and use LEFT, SUBSTRING (same as MID), and RIGHT functions in Excel

MaheshR
7 - Meteor

Can you please help me with the formula for the length which is more than 10 in the workflow, as the formula is complex I am not able to get it right.

 

MaheshR
7 - Meteor

I have provided the excel data, can you please check and support with me with the workflow.

Labels
Top Solution Authors