user989988
user989988

Reputation: 3746

Add a condition to skip a transformation in ADF Data Flow

I have an ADF Data Flow that includes a filter as shown below:

enter image description here

I need to set a parameter and set a condition before filter and based on that condition it should or should not perform filter step.

For example, parameter = environment

If environment = non prod, do filter transformation

Else If environment = prod, skip filter transformation.

Is there a way to add this parameter and condition via ADF Data Flow?

UPDATE:

I added a parameter as follows:

enter image description here I added a conditional split as follows:

enter image description here

This doesn't skip Filter transformation when environment = prod. Am I missing something?

Upvotes: 0

Views: 1115

Answers (1)

Mark Kromer MSFT
Mark Kromer MSFT

Reputation: 3838

Use the Conditional Split transformation for conditional logic

Upvotes: 2

Related Questions