Andy L. ITM, VUB
Temat: Transformacja z liczeniem odpowiednich wartości
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
Group = Table.Group(Source, {"Level", "Phase"}, {{"Count", each Table.RowCount(_), type number}}),
Pivot = Table.Pivot(Group, List.Distinct(Group[Phase]), "Phase", "Count", List.Sum)
in
Pivot