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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jmb
Regular Visitor

Change Data Source Location (excel, onedrive)

Hi,

 

I'm using Powerbi on line (PBI service). I do have a report working from a data source I created from an excel file stored on my team's sharepoint / onedrive. The excel file has been imported as a data set (not a workbook). I use the simple and automatic refresh offered by onedrive.

 

I need to move this file into a sub folder (same sharepoint site).

 

Where and how can I change my report to have it working with the new file without redoing it again ... ?

 

Regards

JM

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

@jmb,

It is not possible to change data source location for the existing report in Power BI Service. 

In your scenario, after you move the file into a sub folder in sharepoint site, please re-connect to the file in Power BI Service, then create a empty report and move visuals from original report to this newly created report. For more details, please review the following blog:

https://powerbi.tips/2018/01/move-visuals-between-reports/

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

@jmb,

It is not possible to change data source location for the existing report in Power BI Service. 

In your scenario, after you move the file into a sub folder in sharepoint site, please re-connect to the file in Power BI Service, then create a empty report and move visuals from original report to this newly created report. For more details, please review the following blog:

https://powerbi.tips/2018/01/move-visuals-between-reports/

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 dont know what you mean about subfolders but i resolved it by using web.contents

    Source = Excel.Workbook(Web.Contents("https://........./Names.xlsx"), null, true),
    sheet1_Sheet = Source{[Item="sheet1",Kind="Sheet"]}[Data],

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors