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.
SOLVED

How to parse into a new column an account number from the column

Dprado006
5 - Atom

Hi Community.

 

First time posting here, hoping for your assistance. I have a large data set from an accounting ledger where the first column has the Client number and the journal, Below an example: 

 

Numer/JournalClient/DescriptionCreditDebit
123445John Smith  
JD9474Description of purchase1 
JP8430Description of purchase 1
JD9384Description of purchase1 
903490Martha Smith  
JP9384Description of purchase  1
JP9345Description of purchase 1

 

What I want is to parse the client number and client name to a diferent column each but added to each record to know to which client the record belongs to, ti should look something like this:

 

NumberClientJournalDescriptionCreditDebit
123445John SmithJD9474Description of purchase1 
123445John SmithJP8430Description of purchase 1
123445John SmithJD9384Description of purchase1 
903490Martha SmithJP9384Description of purchase  1
903490Martha SmithJP9345Description of purchase 1

 

Many thanks in advance.

4 REPLIES 4
ChrisTX
16 - Nebula
16 - Nebula

Is the value for Number always only numbers, no letters?

Does the value for Journal always start with a capital J?

Dprado006
5 - Atom

Hi Chris, the client number is only numbers and there can be records that start with a capital J or P

ChrisTX
16 - Nebula
16 - Nebula

Attached is one option

 

Screenshot 2024-07-19 122354.png

Chris

Dprado006
5 - Atom

Thank you! it worked.

Labels
Top Solution Authors