Forum Discussion

nandanwin's avatar
nandanwin
New Member
3 years ago
Solved

How to convert row to column

Hi guys I have data like this two columns ticket I'd, order id

Ticket I'd ,ordered

1,             2763627,A6727277,387272

2,             6272778,U7277273

3,             727336

 

I want convert it as 

1 2763627

1 A67272...

1 3873.....

2 6272..

2 U72...

3 .....

  • You can do this with just a few clicks using Split Column > By Delimiter and choosing to split into rows under the advanced options:

     

2 Replies

  • You can do this with just a few clicks using Split Column > By Delimiter and choosing to split into rows under the advanced options:

     

  • wdx223_Daniel's avatar
    wdx223_Daniel
    Community Champion

    NewStep=#table(Table.ColumnNames(PreviousStepName),List.TransformMany(Table.ToRows(PreviousStepName),each Text.Split(_{1},","),(x,y)=>{x{0},y}))