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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

@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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@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

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.