Convert one column with 500 records to 500 columns in Azure dataflows.

Cloudgeek 66 Reputation points
2022-04-19T02:33:58.467+00:00

Hello everyone!! I have file with one column and it has 500 records. I would like to convert each of the record to a column. That is I want to create a 500 column names from that file. I want to do this with Azure Synapse dataflow. Can some one please help on how to do that.

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.
4,395 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,601 questions
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 31,061 Reputation points Microsoft Employee
    2022-04-19T10:54:40.747+00:00

    Hi anonymous user-6983 ,
    Welcome to Microsoft Q&A platform and thankyou for posting your query.

    As I understand your query here, you want to convert data from rows into columns . Please correct me if my understanding is wrong.

    For this purpose, you can make use of Pivot transformation in ADF mapping dataflow which is used to create multiple columns from the unique row values of a single column. Pivot is an aggregation transformation where you select group by columns and generate pivot columns using aggregate functions.

    Please refer to the following video for the implementation part:
    https://www.youtube.com/watch?v=ozQYffvt2aI

    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
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful