Alteryx Designer Desktop Discussions

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

Formula to look filter numbers with format differences

bryanmason19
7 - Meteor

Hi All,

 

I am looking to write a filter that will help me separate my data field into two streams. I have a large list of account numbers that have differing formats. In our current system, all account number start with a 6 (ex. 6XXXXX). The issue is that some of the numbers are still in the old format which give each account a two digit category assignment (ex 02-XXXX or 05-XXXX). I need help writing a formula to separate the accounts that start with a 6 and the ones that start with the two digit code. Any advice would be greatly appreciated.

 

Here is an example of what I am trying to achieve:

 

Account #Stream 1Stream 2
612345612345 
623456623456 
02-1234 02-1234
634567634568 
05-1234 05-1234
07-1234 07-1234
645789645790 
2 REPLIES 2
tsturge
7 - Meteor

Create a filter that with this formula.   Left([Account #],1) = '6'. 

patrick_digan
17 - Castor
17 - Castor

@bryanmason19 Attached would be a simple Regex solution.

Labels