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

Alteryx Designer Desktop Discussions

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

Adding a new, populated field to existing data - Generate Rows Tool?

tsnouffer
6 - Meteoroid

I have a set of data that natively has two fields, Customer ID and Number of Visits, with about 2.0M records. It looks a bit like this:

Cust IDVisits
1234534
324535
2379521

 

I'd like to supplement that set with a third field called "Month" and simply add the same value for each record. "Sept" in this case so it would look like this:

Cust IDVisitsMonth
1234534Sept
324535Sept

 

 

I'm honing in on the Generate New Rows tool, but the syntax for pulling off what I want is eluding me. I'm certainly new to Alteryx, but I think I am close to pulling this one off.

 

Any suggestions for the "Initialization Expression," "Condition Expression," and "Loop Expression?"

 

Thanks

Ty

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus
You could simply use a formula tool to create a new field, month. The formula would be: "Sept".

Ok?
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
tsnouffer
6 - Meteoroid

Ah, I forgot about that tool. Glad it is that straighforward!

 

Thanks

Labels
Top Solution Authors