Alteryx Designer Desktop Discussions

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

Regex replace help

jannis005
7 - Meteor

Hi -

 

I am hoping to get some assistance writing a RegEx replace formula. I have several sub-accounts that roll into a master account (i.e. 1912 through 1916 all roll into master account 1911). I am trying to write a RegEx replace in the formula tool to find those specific sub-account groupings and replace them with the master account number. Please let me know if there is a concise way to do this, other than with a join.

 

Thanks in advance!

1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus
I would construct a lookup table for all discrete values and their master number. You can then use a find replace tool to change the values (string fields).

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels