let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"DATE", type date}, {"PART 1", Int64.Type}, {"PART 2", Int64.Type}, {"PART 3", Int64.Type}, {"PART 4", Int64.Type}, {"PART 5", Int64.Type}, {"PART 6", Int64.Type}, {"PART 7", Int64.Type}, {"PART 8", Int64.Type}, {"PART 9", Int64.Type}, {"PART 10", Int64.Type}, {"PART 11", Int64.Type}, {"PART 12", Int64.Type}, {"PART 13", Int64.Type}, {"PART 14", Int64.Type}}),
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"DATE"}, "Attribute", "Value"),
#"Reordered Columns" = Table.ReorderColumns(#"Unpivoted Other Columns",{"Attribute", "DATE", "Value"}),
#"Pivoted Column" = Table.Pivot(Table.TransformColumnTypes(#"Reordered Columns", {{"DATE", type text}}, "en-GB"), List.Distinct(Table.TransformColumnTypes(#"Reordered Columns", {{"DATE", type text}}, "en-GB")[DATE]), "DATE", "Value"),
#"Duplicated Column" = Table.DuplicateColumn(#"Pivoted Column", "Attribute", "Attribute - Copy"),
#"Extracted Text After Delimiter" = Table.TransformColumns(#"Duplicated Column", {{"Attribute", each Text.AfterDelimiter(_, " "), type text}}),
#"Reordered Columns1" = Table.ReorderColumns(#"Extracted Text After Delimiter",{"Attribute - Copy", "Attribute", "01/01/2020", "02/01/2020", "03/01/2020", "04/01/2020", "05/01/2020", "06/01/2020", "07/01/2020", "08/01/2020", "09/01/2020", "10/01/2020", "11/01/2020", "12/01/2020", "13/01/2020", "14/01/2020", "15/01/2020", "16/01/2020", "17/01/2020", "18/01/2020", "19/01/2020", "20/01/2020", "21/01/2020", "22/01/2020", "23/01/2020", "24/01/2020", "25/01/2020"}),
#"Changed Type1" = Table.TransformColumnTypes(#"Reordered Columns1",{{"Attribute", Int64.Type}}),
#"Sorted Rows" = Table.Sort(#"Changed Type1",{{"Attribute", Order.Ascending}}),
#"Removed Columns" = Table.RemoveColumns(#"Sorted Rows",{"Attribute"}),
#"Renamed Columns" = Table.RenameColumns(#"Removed Columns",{{"Attribute - Copy", "Part"}})
in
#"Renamed Columns"
Bookmarks