Forum Discussion
Anonymous
2 years agoNot applicable
Pivoting Data
Hi all, I have the below problem. I would like to pivot my data from
to
one = Table.ToList( your_table, (w) => List.TransformMany( {w}, (x) => List.Skip(List.Split(x, 2)), (x, y) => List.FirstN(x, 2) & y ) ), two = Table.FromList(List.Combine(one), (x) => x, {"Name", "Phone", "Address", "State"})
1 Reply
- AlienSxSuper User
one = Table.ToList( your_table, (w) => List.TransformMany( {w}, (x) => List.Skip(List.Split(x, 2)), (x, y) => List.FirstN(x, 2) & y ) ), two = Table.FromList(List.Combine(one), (x) => x, {"Name", "Phone", "Address", "State"})