Data Flow activity with different transformations dynamically

Krishnamohan Nadimpalli 406 Reputation points
2023-01-09T16:07:08.203+00:00

Hi

I have a dataflow where the datasets are coming dynamically through pipeline in foreach loop. Now in this dataflow I want to use filter,derived column transformations etc. But it shows error while validating . How do I mitigate this? there must be an option.

Following is the dataset where folder name is dynamically which is used in dataflow
277447-image.png

Dataflow uses source options for taking the file names

277531-image.png

As the file names are dynamic, now there is no projection of header fields, So all transformations like filter, derived will give error .

277460-image.png

How do I mitigate this and validate it successfully.

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

Accepted answer
  1. MarkKromer-MSFT 5,216 Reputation points Microsoft Employee
    2023-01-09T17:17:01.323+00:00

    If your data flow does not have a defined projection, then you will use "late binding" in your transformations where you can refer to specific column names using the byName() metafunction. Alternatively, you can use column matching in Derived Columns to define a canonical model that is disconnected from the hardened source projection.

    https://mssqldude.wordpress.com/2020/01/06/late-binding-vs-early-binding-in-adf-data-flows/

    https://www.youtube.com/watch?v=K5tgzLjEE9Q

    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.