Forum Discussion
Cream_17
2 years agoFrequent Visitor
Pivot the table
Hi guys, I really need your help I want to change the table (table one) from this one Column1 1 A B 2 C 3 D E 4 F G 5 H to this one (table...
- 2 years ago
let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], group = Table.Group( Source, "Column1", {"x", (x) => x[Column1]}, GroupKind.Local, (s, c) => Number.From(c is number) ), z = Table.FromList(group[x], (x) => x, {"No", "Manchester", "Arsenal"}) in z
AlienSx
2 years agoSuper User
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
group = Table.Group(
Source,
"Column1",
{"x", (x) => x[Column1]},
GroupKind.Local,
(s, c) => Number.From(c is number)
),
z = Table.FromList(group[x], (x) => x, {"No", "Manchester", "Arsenal"})
in
zCream_17
2 years agoFrequent Visitor
Oh my God, you are awesome!
Thanks!, it works!