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
Syndicate_Admin
Administrator
Administrator

Change data source from local folder to sharepoint

Good morning, I have to change the source of my data to stop reading it from my local disk and read it from sharepoint. The idea is to use the same excel file that I use from my local disk, but published in a share point. I know I have to go to the power query and in advanced editor change the source. My question is how much the code is modified and some recommendations in this regard.

Thank you

4 REPLIES 4
christinepayton
Super User
Super User

Hi there, I made videos for how to swap from local sources to SharePoint for files and folders. The technique is slightly different. 

 

Here's how to swap file sources:

https://youtu.be/2HZ8l23RXnc

 

And folder sources:

https://youtu.be/5SFxHffE2TA 

Glad I found this video. I believe I watched it before but was thrown off by "json". But watching it today, I saw the note that it would work for an Excel file as well. Three months after, you resolved my frustration! Thank you/

ha sorry, that's good feedback - I should just stick to Excel for everything, I just grabbed whatever sample data I had lying around when I did this. >.< 

Idrissshatila
Super User
Super User

Hello @Syndicate_Admin ,

 

it's all in the documentation here https://learn.microsoft.com/en-us/power-query/connectors/sharepoint-folder

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




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.