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
Plamen
Frequent Visitor

Changing data source from excel file to Sharepoint of already created report

Hi there,

 

I am facing the following issue - I created two Power BI reports linked to excel file on my C://, but from now on I have to start using Sharepoint only, so I need to change the data source to Sharepoint. Moved the initial excel file from C:// to Sharepoint, but how to change the path in order not to crash the already created reports?

 

Thanks:)

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Plamen,


1. Create a new query that points to your SharePoint file in Power BI Desktop. 
2. Copy the code(Source line) of the new query in Advanced Editor.
3. Go to your existing query of Excel and replace the  source code in the Advanced Editor with copied code in Step 2.

Regards,
Lydia

Community Support Team _ Lydia Zhang
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
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Plamen,


1. Create a new query that points to your SharePoint file in Power BI Desktop. 
2. Copy the code(Source line) of the new query in Advanced Editor.
3. Go to your existing query of Excel and replace the  source code in the Advanced Editor with copied code in Step 2.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have the same issue and understand the steps described but how do I pull the data from the excel stored on the Sharepoint? (Create a new query that points to your SharePoint file in Power BI Desktop. ). I've seen this post that says to use Get Data> Web (https://community.powerbi.com/t5/Desktop/Import-Data-from-an-Excel-sheet-in-SharePoint/td-p/47223)

 

When I try to do that I get:Error.PNG

 

Is there a better way to do this?

 

Thank you!

 

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.