Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
doritilto
Regular Visitor

Combine multiple sheets from Excel File

Hi, 
I want to combine the below 4 sheets of the excel file.

 

doritilto_0-1729067319460.png

 

 

When I go to the data column I can only see the below:

doritilto_1-1729067348882.png

 

 

How can I combine those sheets?



2 ACCEPTED SOLUTIONS
bhanu_gautam
Super User
Super User

@doritilto , Go through this video

 

https://www.youtube.com/watch?app=desktop&v=gQo5coD9c4M




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

Anonymous
Not applicable

Hi @doritilto , hello bhanu_gautam, thank you for your prompt reply!


I found a similar post and tested it based on the steps outlined above, which worked well. You can refer to it.

 

1. After connecting to the spreadsheet, right-click the file name and select Transform Data (don't select each individual sheet):

vyajiewanmsft_0-1729493523664.png

2. Modify the M code by changing the second argument to "true" (prevents repetition of column headers):

 

=Excel.Workbook(File.Contents("C:\Users\Administrator1\Desktop\multiple_sheets_same_structure.xlsx"), true, true)

 

3. In the Data column, click the Expand icon (double arrow):

vyajiewanmsft_2-1729493634032.png

4. Uncheck "Use original column name as prefix":

vyajiewanmsft_1-1729493605284.png

Result:

vyajiewanmsft_3-1729493672846.png

Similar post for your reference:

Solved: Combining Data From Multiple Worksheets Into one t... - Microsoft Fabric Community

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @doritilto , hello bhanu_gautam, thank you for your prompt reply!


I found a similar post and tested it based on the steps outlined above, which worked well. You can refer to it.

 

1. After connecting to the spreadsheet, right-click the file name and select Transform Data (don't select each individual sheet):

vyajiewanmsft_0-1729493523664.png

2. Modify the M code by changing the second argument to "true" (prevents repetition of column headers):

 

=Excel.Workbook(File.Contents("C:\Users\Administrator1\Desktop\multiple_sheets_same_structure.xlsx"), true, true)

 

3. In the Data column, click the Expand icon (double arrow):

vyajiewanmsft_2-1729493634032.png

4. Uncheck "Use original column name as prefix":

vyajiewanmsft_1-1729493605284.png

Result:

vyajiewanmsft_3-1729493672846.png

Similar post for your reference:

Solved: Combining Data From Multiple Worksheets Into one t... - Microsoft Fabric Community

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

bhanu_gautam
Super User
Super User

@doritilto , Go through this video

 

https://www.youtube.com/watch?app=desktop&v=gQo5coD9c4M




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.