how to convert a column wise data into the Row wise data in Azure data factory?

2021-05-20T13:03:23.68+00:00

I have one Column which is having Multiple value like

Account No ---> Values

12345------{PC Accessories, Surface, Xbox, Cross Category, Windows, Microsoft 365}

I want to change the Value in the Row Wise

Account No Value

12345----PC Accessories,

12345 Surface,

12345 Xbox

12345 Cross Category

12345 Windows,

12345 Microsoft 365

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,608 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nandan Hegde 36,066 Reputation points MVP Volunteer Moderator
    2021-05-20T13:51:46.863+00:00

    Hey, you can use unpivot function in adf data flow.
    https://learn.microsoft.com/en-us/azure/data-factory/data-flow-unpivot

    In case if your datasource is a SQL source itself, would suggest leveraging unpivot sql function


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.