How to add one day to Source Column and write to sink

Bala 181 Reputation points

I have a Copy activity that has Source and Sink pointing to same data source (CRM).

Source has a column date1 to which I want add a day and write it to date2 in Sink.

How can it be achieved or How do I reference the Source column name in Dynamic expression?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,736 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,761 Reputation points Microsoft Employee

    Hi @Bala ,

    Thanks for using Microsoft Q&A !!
    No, it is not possible to use the source column values in dynamic expression while adding an additional column in copy data activity. If your source is SQL then you can use Stored Procedure or SQL Query in source to add a new column and target it to the sink tables. In your case as the source is different, you could try to use Dataflow to achieve the same.
    Please let me know if you have any additional questions.