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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How do I combine my excel sheets from 1 excel file and using SharePoint to open up the file.

For example, i have an excel file named as Bank.xlsx. In this file, i have 4 sheets (Sheet1 - Sheet 4) and this file is saved in my company sharepoint. From Powerbi, select sharepoint folder, point to Bank.xlsx. 

 

No. of InstallmentPayment Date Principal Amount  Outstanding DescriptionReference No.BankCurrency
111111111111111111111111

111

 

The column names for the 4 sheets are the same. However, i cant select 4 sheets at once i can only select one at a time. Any idea to solve this issue? 

1 ACCEPTED SOLUTION
v-rongtiep-msft
Community Support
Community Support

Hi @Anonymous ,

@amitchandak 's way is very helpful. It is better to combine all the data into one sheet instead of doing it on Power BI which might take many configurations.

Please have a try.

First, import data from excel, then click Transform data.

vpollymsft_0-1642569199727.jpeg

Delete all steps except Source.

vpollymsft_1-1642569224353.png

 

vpollymsft_2-1642569224354.png

 

 

Then remove other columns except data column.

vpollymsft_3-1642569224355.png

 

expand the Data column to the underlying structure

vpollymsft_4-1642569224360.png

 

This action will combine the data from all sheets into one.

vpollymsft_5-1642569224366.jpeg

 

 

Thats it, all the data from multiple sheets are combined. You might need, however, to clean the data, remove duplicate headers, etc to have a clean combined table as a result.

vpollymsft_6-1642569224370.jpeg

 

Now, This can then be selected as a table

 

vpollymsft_7-1642569224375.jpeg

 

 

See details: https://radacad.com/combine-multiple-or-all-sheets-from-an-excel-file-into-a-power-bi-solution-using-power-query-dynamically

 

I have found a similar post, please have a try to see if it helps you.

https://community.powerbi.com/t5/Desktop/Multiple-worksheets-in-sharepoint-hosted-Excel/td-p/1146093

 

 

Best Regards

Community Support Team _ Polly

 

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

3 REPLIES 3
v-rongtiep-msft
Community Support
Community Support

Hi @Anonymous ,

@amitchandak 's way is very helpful. It is better to combine all the data into one sheet instead of doing it on Power BI which might take many configurations.

Please have a try.

First, import data from excel, then click Transform data.

vpollymsft_0-1642569199727.jpeg

Delete all steps except Source.

vpollymsft_1-1642569224353.png

 

vpollymsft_2-1642569224354.png

 

 

Then remove other columns except data column.

vpollymsft_3-1642569224355.png

 

expand the Data column to the underlying structure

vpollymsft_4-1642569224360.png

 

This action will combine the data from all sheets into one.

vpollymsft_5-1642569224366.jpeg

 

 

Thats it, all the data from multiple sheets are combined. You might need, however, to clean the data, remove duplicate headers, etc to have a clean combined table as a result.

vpollymsft_6-1642569224370.jpeg

 

Now, This can then be selected as a table

 

vpollymsft_7-1642569224375.jpeg

 

 

See details: https://radacad.com/combine-multiple-or-all-sheets-from-an-excel-file-into-a-power-bi-solution-using-power-query-dynamically

 

I have found a similar post, please have a try to see if it helps you.

https://community.powerbi.com/t5/Desktop/Multiple-worksheets-in-sharepoint-hosted-Excel/td-p/1146093

 

 

Best Regards

Community Support Team _ Polly

 

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

 

Anonymous
Not applicable

Noted. This means that it is better to combine all the data into one sheet instead of doing it on PowerBI which might take many configurations, right?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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