It would appear that Data Factory doesn't recognise [] as an array, you have to createArray(1,2,3...)
Array contains
Ryan Abbey
1,186
Reputation points
The below is getting a "Unable to parse expression" error, anyone can tell me what is wrong?
@if(contains([1,2,3,4,5,6,7], item().PipeRoute), 'PC', 'PC2')
Basically, item().PipeRoute is a number, if it is between 1 and 7, I want the result to be "PC" else "PC2"
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
Answer accepted by question author