Hi Sulagno Roy ,
Welcome to Microsoft Q&A platform and thanks for posting your question here.
As per my understanding, you want to perform data transformation for multiple files present in different folders using same dataflow. Please let me know if that is not the correct understanding.
You can use a single data flow activity to perform the same transformation on multiple files from different folders. To do that, you can use the wildcard paths
in the source
transformation to specify the pattern of the folder path you want to process. For example, you can use the pattern X/*/*A
to process all subfolders of X that end with A. Similarly, you can use the pattern Y/*/*A
and Z/*/*A
to process all subfolders of Y and Z that end with A.
You can pass the folder names as parameters to the pipeline and use them in the wildcard paths. For example, you can define a parameter folderName
in the pipeline and use it in the wildcard path as @concat(folderName, '/*/*A')
. This way, you can reuse the same data flow activity for multiple subfolders.
After processing the subfolders, you can use the union
transformation to merge the output of the data flow activity.
Hope it helps. Please accept the answer by clicking on Accept answer
button , or else revert back with follow up query. Thankyou