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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.