Dear all master,
I tried with Power Query but the results were not what I wanted and each worksheet I didn't want to create with a table.
I tried the result already wanting to get close to the result I wanted but the lack of sheet name / name does not appear in the output in Power Query. How does the sheet name appear with the power query?.
Thanks
worksheet name : FIRST
worksheet name : SECOND
worksheet name : THIRD
DESIRED RESULT
RESULT IN POWER QUERY
let
Source = Excel.Workbook(File.Contents("C:\Users\ADMIN2\Documents\TEST.xlsx"), null, true),
#"Filter Sheets" = Table.SelectRows(Source, each [Kind] = "Sheet"),
#"Promote Headers" = Table.TransformColumns(#"Filter Sheets", {{"Data", each Table.PromoteHeaders(_, [PromoteAllScalars=true])}}),
#"Combine Sheets" = Table.Combine(#"Promote Headers"[Data]),
#"Filtered Rows" = Table.SelectRows(#"Combine Sheets", each [KODE] <> null and [KODE] <> "")
in
#"Filtered Rows"




