Reputation: 3746
I have an ADF Data Flow that includes a filter as shown below:
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:
I added a conditional split as follows:
This doesn't skip Filter transformation when environment = prod. Am I missing something?
Upvotes: 0
Views: 1115
Reputation: 3838
Use the Conditional Split transformation for conditional logic
Upvotes: 2