Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Add alphanumeric column

rogersm01
7 - Meteor

I want to add a simple year and period column to an output but it must be in the format of 2023P08. I thought just adding as a V_String would be ok but I keep getting 'Error: Formula (11): Parse Error at char(0): An operator must be between operands (Expression #1)'

 

How best to add this in?

 

Thanks

5 REPLIES 5
Luke_C
17 - Castor
17 - Castor

Can you share your formula?

Qiu
21 - Polaris
21 - Polaris

@rogersm01 
The best guess is that you are trying to "add"? two different data type.

binuacs
21 - Polaris

@rogersm01 Looking for something like the one below?

 

binuacs_0-1669245008235.png

 

rogersm01
7 - Meteor

thanks for your help - much appreciated

DenisZ
11 - Bolide

Numeric and string fields cannot be joined alone. Since you are looking for a in the middle you would need to covert your year and month to string fields using ToString([Name]) and then add a in " ". 

 

Hope it helps

Labels