Dynamic Mapping for Flatten Activity

R-5499 151 Reputation points

Hey Hey,

In flatten dataflow activity my unroll by and unroll root would always remain same irrespective of the parameters which i provide & only the mappings / output columns would differ. Is it possible to have a dynamic mapping created & mapping passed as a parameter value rather than importing it.


Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
3,092 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
7,132 questions
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 23,111 Reputation points Microsoft Employee

    Hi @R-5499 ,
    Thankyou for using Microsoft Q&A platform and thanks for posting your question here.
    As per my understanding , you want to know if there is any possibility to perform dynamic mapping in flatten transformation in mapping dataflow. Kindly let me know if my understanding is incorrect.

    The flatten transformation supports Rule-based mapping allowing you to create dynamic and flexible transformations that will flatten arrays based on rules and flatten structures based on hierarchy levels.


    You can also use parameter and pass the column names or any matching pattern in the expression .

    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png 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
    0 comments No comments

0 additional answers

Sort by: Most helpful