let
Источник = Excel.CurrentWorkbook(){[Name="Таблица1"]}[Content],
#"Измененный тип" = Table.TransformColumnTypes(Источник,{{"Столбец1", type text}, {"Столбец2", Int64.Type}, {"Столбец3", type text}, {"Столбец4", Int64.Type}, {"Столбец5", type text}, {"Столбец6", Int64.Type}, {"Столбец7", type text}, {"Столбец8", Int64.Type}, {"Столбец9", type text}, {"Столбец10", Int64.Type}, {"Столбец11", type text}, {"Столбец12", Int64.Type}, {"Столбец13", type text}, {"Столбец14", Int64.Type}, {"Столбец15", type text}, {"Столбец16", Int64.Type}, {"Столбец17", type text}, {"Столбец18", Int64.Type}, {"Столбец19", type text}, {"Столбец20", Int64.Type}, {"Столбец21", type text}, {"Столбец22", Int64.Type}, {"Столбец23", type text}, {"Столбец24", Int64.Type}, {"Столбец25", type text}, {"Столбец26", Int64.Type}, {"Столбец27", type text}, {"Столбец28", Int64.Type}, {"Столбец29", type text}, {"Столбец30", type any}, {"Столбец31", type text}, {"Столбец32", Int64.Type}, {"Столбец33", type text}, {"Столбец34", Int64.Type}, {"Столбец35", type text}, {"Столбец36", type any}, {"Столбец37", type text}, {"Столбец38", type any}, {"Столбец39", type text}, {"Столбец40", Int64.Type}}),
#"Транспонированная таблица" = Table.Transpose(#"Измененный тип"),
spl=Table.Split(#"Транспонированная таблица",2),
#"Преобразовано в таблицу" = Table.FromList(spl, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Добавлен пользовательский объект" = Table.AddColumn(#"Преобразовано в таблицу", "Пользовательский", each Table.Transpose([Column1])),
#"Развернутый элемент Пользовательский" = Table.ExpandTableColumn(#"Добавлен пользовательский объект", "Пользовательский", {"Column1", "Column2"}, {"Column1.1", "Column2"}),
#"Удаленные столбцы" = Table.RemoveColumns(#"Развернутый элемент Пользовательский",{"Column1"}),
#"Строки с примененным фильтром" = Table.SelectRows(#"Удаленные столбцы", each ([Column1.1] <> null))
in
#"Строки с примененным фильтром" |