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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.