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
- 2 years ago
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"})
AlienSx
Super User
2 years ago 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"})