Hi @Rene Rugerio ,
Welcome to Microsoft Q&A platform and thanks for posting your question here.
As I understand your ask , you want to convert SQL rows and columns into JSON key value pair with the help of mapping dataflow. Please let me know if my understanding is incorrect.
Your understanding is correct , there is no option to unflatten the data , however, in your case, you can use derive column transformation or aggregate transformation to create sub column and collect function to convert them as item of an array.
Please watch this video for the implementation: Convert records into NESTED JSON using mapping dataflow
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