let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"SAP NAME", type text}, {"Monthly Budget", Int64.Type}, {"May-23", Int64.Type}, {"Jun-23", Int64.Type}, {"Jul-23", Int64.Type}, {"Aug-23", Int64.Type}, {"Sep-23", Int64.Type}, {"Oct-23", Int64.Type}, {"Nov-23", Int64.Type}, {"Dec-23", Int64.Type}, {"Jan-24", Int64.Type}, {"Feb-24", Int64.Type}, {"Mar-24", Int64.Type}, {"Apr-24", Int64.Type}}),
#"Inserted Text Before Delimiter" = Table.AddColumn(#"Changed Type", "Text Before Delimiter", each Text.BeforeDelimiter([SAP NAME], " "), type text),
#"Reordered Columns" = Table.ReorderColumns(#"Inserted Text Before Delimiter",{"Text Before Delimiter", "SAP NAME", "Monthly Budget", "May-23", "Jun-23", "Jul-23", "Aug-23", "Sep-23", "Oct-23", "Nov-23", "Dec-23", "Jan-24", "Feb-24", "Mar-24", "Apr-24"}),
#"Renamed Columns" = Table.RenameColumns(#"Reordered Columns",{{"Text Before Delimiter", "Drug Category"}})
in
#"Renamed Columns"