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

Bala 181 Reputation points
2021-08-04T12:14:20.337+00:00

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
    2021-08-06T00:00:37.997+00:00

    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.

    Thanks
    Saurabh