Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

Populate a column with a serial follow the format "YYMA999999"

JacEvaluator
6 - Meteoroid

Hi, I am very new to Alteryx.

 

There is a requirement to populate a column with a serial follow the format "YYMA999999".

 

YYMA999999 where:

YY is the year

M is the month (A to L for Jan to Dec)

A is either E for export or I for import

999999 is a sequence 1 to 999999

 

I am trying out formula. I was successful with YY and stuck with the rest. How should I go about this?

 

 

2 REPLIES 2
KGT
13 - Pulsar

I assume you have  a date field called [Date]. I just used today's date for it. Without knowing what you're assigning to, some things change for different use cases, mainly the assignment of the sequence, but in this example, it's calculated by the RecordID, you can calculate it from a list or something instead if you like...

 

I've laid the components out in individual formulas, but of course, you can combine if needed.

 

Screenshot 2025-03-26 094031.png

 

JacEvaluator
6 - Meteoroid

Thank you very much! It works!