let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Added Index" = Table.AddIndexColumn(Source, "Indeks", 0, 7),
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Added Index", {"Indeks"}, "Atrybut", "Wartość"),
#"Duplicated Column" = Table.DuplicateColumn(#"Unpivoted Other Columns", "Atrybut", "Atrybut — kopia"),
#"Split Column by Character Transition" = Table.SplitColumn(#"Duplicated Column", "Atrybut — kopia", Splitter.SplitTextByCharacterTransition((c) => not List.Contains({"0".."9"}, c), {"0".."9"}), {"Atrybut — kopia.1", "Atrybut — kopia.2"}),
#"Changed Type" = Table.TransformColumnTypes(#"Split Column by Character Transition",{{"Atrybut — kopia.2", Int64.Type}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Number", each [Indeks]+[#"Atrybut — kopia.2"]),
#"Changed Type1" = Table.TransformColumnTypes(#"Added Custom",{{"Number", type text}}),
#"Merged Columns" = Table.CombineColumns(#"Changed Type1",{"Number", "Wartość"},Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),"NewValue"),
#"Removed Other Columns" = Table.SelectColumns(#"Merged Columns",{"Indeks", "Atrybut", "NewValue"}),
#"Pivoted Column" = Table.Pivot(#"Removed Other Columns", List.Distinct(#"Removed Other Columns"[Atrybut]), "Atrybut", "NewValue"),
#"Removed Columns" = Table.RemoveColumns(#"Pivoted Column",{"Indeks"})
in
#"Removed Columns"