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
pankhuri49
New Member

Power Bi Desktop changing data source of excel files in power bi

Hi 
I am new in Power Bi. We have created a power bi report which uses multiple excel files. These excel files at month end are updated by end users.
To smooth the process we are planning to merge excel files in to one file with multiple worksheets so that only one excel file can be  shared to the user.
How can we change the datasource from individual excel file to worksheets in one excell file. we dont want to report or graphs to get affected.
Please help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @pankhuri49 ,

 

I think you have kept the column name to be same after you merge your excel files, so you need to try to change the data source and sheet name in your Power Editor Query by below step:

 

When you click the table in Power Editor Query, you will see below steps, right?

 

The steps you need to change are "Source" and "Navigation"

 

Click "Souce", you will see :

= Excel.Workbook(File.Contents("YOUR_EXCEL_ROUTE"), null, true)

 

Change all the excels you used to the merge file ROUTE

 

Click "Navigation":

= Source{[Item="YOUR_SHEET_NAME",Kind="Table"]}[Data]

 

Change the "Item" for every excels you used to the new SHEET NAME in your merge file

 

Please try

 

Power Bi Desktop changing data source of excel files in power bi.PNG

 

Aiolos Zhao

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @pankhuri49 ,

 

I think you have kept the column name to be same after you merge your excel files, so you need to try to change the data source and sheet name in your Power Editor Query by below step:

 

When you click the table in Power Editor Query, you will see below steps, right?

 

The steps you need to change are "Source" and "Navigation"

 

Click "Souce", you will see :

= Excel.Workbook(File.Contents("YOUR_EXCEL_ROUTE"), null, true)

 

Change all the excels you used to the merge file ROUTE

 

Click "Navigation":

= Source{[Item="YOUR_SHEET_NAME",Kind="Table"]}[Data]

 

Change the "Item" for every excels you used to the new SHEET NAME in your merge file

 

Please try

 

Power Bi Desktop changing data source of excel files in power bi.PNG

 

Aiolos Zhao

 

amitchandak
Super User
Super User

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

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.