Hello @youssef125 ,
Welcome to the Microsoft Q&A platform.
Unfortunately, there was not direct approach to achieve the above requirement.
I came up with two possible options
Option 1 :
You can create a collection using the Aggregates Schema Modifier.
Create a column without any Group and add the below expression.
Output :
However, there is an additional key created in the name of the aggregate column provided.
Option 2 :
I outputted the Data flow file to a blob storage and invoked the Copy Activity with the output of the data flow as a source.
I set the sink settings of the Copy Activity to File pattern as Array of Objects
Output
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators