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

Adding and populating a new field

muns
7 - Meteor

Hi - I am trying (and failing) to add a field to my data which contains the year. The data was imported with no date info. The data starts in 2007 and ends in 2021. Therefore the field below called Year that is currently populated with 2007 for each record needs to be adjusted to show 2007 for the first record, 2008 for the second and so on. Please could someone point me in the right direction?

 

Many thanks!

 

muns_0-1574421143153.png

3 REPLIES 3
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @muns,

 

It sounds as though this is what your trying to achieve:

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workbook for you to download if needed.

 

Regards,

Jonathan

muns
7 - Meteor

Thanks Jonathan.

 

Yes that's spot on!

ChrisTX
16 - Nebula
16 - Nebula

For future reference, the Multi-Row Formula tool is another alternative

 

Capture.PNG

Labels
Top Solution Authors