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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PowerBINoob24
Resolver I
Resolver I

Changing Data Source

Hello,

I've created a PowerBI dashboard and it is based on several spreadsheets on a local drive.  I need to move the spreadsheets to a sharepoint site so I can schedule updates.

 

How can I do that without destroying all the data tabels and custom column/measures work?

 

TIA

1 ACCEPTED SOLUTION
rohit1991
Super User
Super User

Hi @PowerBINoob24 ,

You can switch your data source from local Excel files to SharePoint without breaking your existing model, tables, or measures. Here’s how you can do it safely:

  1. Move your Excel files to SharePoint or OneDrive and grab the direct file link (ending with .xlsx).

  2. In Power BI Desktop, go to Transform Data > Data Source Settings.

  3. Select your old local file source, then click Change Source.

  4. Paste the new SharePoint or OneDrive link. If using SharePoint, it’s best to use the SharePoint Folder or Web connector.

  5. In Power Query, check that the sheet or table names match up just like before. If you use SharePoint Folder, be sure to filter for your file by name.

  6. Close & Apply – and you’re done. All relationships, calculated columns, and measures will stay as long as the file structure and column names haven’t changed.

 If you ever get stuck or don’t see “Change Source”, you can edit the query in Advanced Editor and just swap the file path there. Make sure to back up your PBIX first, just in case.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

View solution in original post

2 REPLIES 2
rohit1991
Super User
Super User

Hi @PowerBINoob24 ,

You can switch your data source from local Excel files to SharePoint without breaking your existing model, tables, or measures. Here’s how you can do it safely:

  1. Move your Excel files to SharePoint or OneDrive and grab the direct file link (ending with .xlsx).

  2. In Power BI Desktop, go to Transform Data > Data Source Settings.

  3. Select your old local file source, then click Change Source.

  4. Paste the new SharePoint or OneDrive link. If using SharePoint, it’s best to use the SharePoint Folder or Web connector.

  5. In Power Query, check that the sheet or table names match up just like before. If you use SharePoint Folder, be sure to filter for your file by name.

  6. Close & Apply – and you’re done. All relationships, calculated columns, and measures will stay as long as the file structure and column names haven’t changed.

 If you ever get stuck or don’t see “Change Source”, you can edit the query in Advanced Editor and just swap the file path there. Make sure to back up your PBIX first, just in case.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Thank you!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.