Replace function inside control flow ADF

Vs2021 46 Reputation points
2021-10-04T12:58:42.383+00:00

I have a control flow which moves data from dataverse to CSV. one of the column has extra backslash, how would I use replace function to remove the backslash in control flow. Can I use lookup activity and replace the contents and use copy data to insert into csv?

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

Accepted answer
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2021-10-06T09:36:36.18+00:00

    Hi @Vs2021 ,

    Thank you for posting query in Microsoft Q&A Platform.

    Data flows are right option to go with in this case, as Control flow and Copy activity will not help you to perform any kind of data transformations.

    replace() function in data flows helps to replace all occurrences of a substring with another substring in the given string. If the last parameter is omitted, it is default to empty string.

    Please Note, You should consider derived column transformation and apply replace() function on your column.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.