Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Ok guys, help me out. I have one excel file with multiple tab (sheet) in it. All I want to create another excel file using power query and merge the data into one large file in a different location. So in future i can create more tabs/sheet in the source file and the output file will be updated when refresh. Basically all i want get data from a single excel file which has multiple tabs and transform it into one large data into a separate file.
Appreciate your help.
Solved! Go to Solution.
This can be done easily with a slight modification of the Power Query code.
Connect to the Excel file as usual. Pick one sheet, and say "Transform data"
Then remove the second step, and expand all sheets instead.
let
Source = Excel.Workbook(File.Contents("C:\Users\xxx\test5.xlsx"), null, true),
#"Expanded Data" = Table.ExpandTableColumn(Source, "Data", {"Column1", "Column2"}, {"Column1", "Column2"})
in
#"Expanded Data"
After that do some cleanup on the sheet headers as needed.
This can be done easily with a slight modification of the Power Query code.
Connect to the Excel file as usual. Pick one sheet, and say "Transform data"
Then remove the second step, and expand all sheets instead.
let
Source = Excel.Workbook(File.Contents("C:\Users\xxx\test5.xlsx"), null, true),
#"Expanded Data" = Table.ExpandTableColumn(Source, "Data", {"Column1", "Column2"}, {"Column1", "Column2"})
in
#"Expanded Data"
After that do some cleanup on the sheet headers as needed.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |