let
Source = Folder.Files("D:\Data"), // Đổi tên đường dẫn phù hợp
#"Added Custom" = Table.AddColumn(Source, "Custom", each Excel.Workbook([Content])),
#"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Name", "Data", "Item", "Kind", "Hidden"}, {"Name.1", "Data", "Item", "Kind", "Hidden"}),
#"Filtered Rows" = Table.SelectRows(#"Expanded Custom", each ([Name.1] = "Nhom - Hà" or [Name.1] = "Nhom - Nga" or [Name.1] = "Nhom - Thuy")),
#"Expanded Data" = Table.ExpandTableColumn(#"Filtered Rows", "Data", {"Column1", "Column2", "Column3", "Column4", "Column5", "Column6", "Column7", "Column8", "Column9", "Column10", "Column11", "Column12", "Column13", "Column14", "Column15", "Column16", "Column17", "Column18", "Column19", "Column20", "Column21", "Column22", "Column23", "Column24"}),
#"Removed Columns" = Table.RemoveColumns(#"Expanded Data",{"Content", "Name", "Extension", "Date accessed", "Date modified", "Date created", "Attributes", "Folder Path","Item","Kind","Hidden"}),
#"Promoted Headers" = Table.PromoteHeaders(#"Removed Columns", [PromoteAllScalars=true]),
#"Filtered Rows1" = Table.SelectRows(#"Promoted Headers", each ([SEQ] <> null and [SEQ] <> "SEQ" and [SEQ] <> "STT")),
#"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows1",{"Nhom - Hà", "SEQ", "Year", "Month", "Day", "Full Name", "Employee ID", "Working Time", "Workshift", "PO No.", "Iterm No.", "PO Qty", "Production Process", "Qty/ 1 product", "Good Qty", "NG Qty", "Product Qty", "Price", "Amount", "Allowance", "By pcs/ By time", "Notes", "Accumulated Qty", "% Finished ", "Column25"}),
#"Renamed Columns" = Table.RenameColumns(#"Removed Other Columns",{{"Nhom - Hà", "Group"}, {"Column25", "ID"}})
in
#"Renamed Columns"