Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello,
How can i combine data from multiple worksheets of excel file into one table in PowerBi?
Sample file is attached - Click Here
Thanks
Gaurav
Solved! Go to Solution.
1. After connecting to the spreadsheet, right-click the file name and select Transform Data (don't select each individual sheet):
2. Modify the M code by changing the second argument to "true" (prevents repetition of column headers):
Excel.Workbook(File.Contents("C:\Users\MultiSheetImport.xlsx"), true, true)
3. In the Data column, click the Expand icon (double arrow):
4. Uncheck "Use original column name as prefix":
Result:
Proud to be a Super User!
Thank you for this! This solution has really made a difference automating a feed into PBI where the source excel file have identical sheets added.
Hi,
See this video link -Power Query #08: Import Multiple Excel Sheets From Multiple Excel Workbooks.
1. After connecting to the spreadsheet, right-click the file name and select Transform Data (don't select each individual sheet):
2. Modify the M code by changing the second argument to "true" (prevents repetition of column headers):
Excel.Workbook(File.Contents("C:\Users\MultiSheetImport.xlsx"), true, true)
3. In the Data column, click the Expand icon (double arrow):
4. Uncheck "Use original column name as prefix":
Result:
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 128 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |