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.

How to copy data from one column to another existing column

JeffJones
6 - Meteoroid

I have a column named Date with a list of various dates.  I would like to copy these dates over to  an existing column named MonthYear which all the values are currently null.   Any assistance would be much appreciated!

3 REPLIES 3
flying008
15 - Aurora

Hi , @JeffJones 

 

Maybe you can add a formula tool in your workflow, then select the field [MonthYear], and type formula: = [Date]

binuacs
21 - Polaris

@JeffJones There are multiple ways you can do this. Attaching a sample workflow for your reference

 

binuacs_0-1676728953767.png

 

SmitaLohande
9 - Comet

Hi,

 

I have attached the solution. Month year column is string and Date is date datatype.

 

In Date Time parse tool, convert the date to string for the 'Date' column, and in formula tool, replace the 'month year' column with the 'date' column (See 2nd screen shot). Finally then you can convert back the 'month year' column to a 'date' datatype.

 

Please mark it as a solution if it helped you :)

 

SmitaLohande_0-1676829128789.png

 

 

 

SmitaLohande_1-1676829326112.png

 

 

Labels
Top Solution Authors