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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
yaronch7
Regular Visitor

How to change datasource(PBI service) after I moved the file to one drive

I created my data model based on local CSV files with PBI desktop   now i want to move the files to onedrive and keep the connection after I am publishing to power bi service , how to change the power bi service or desktop to recognize the files on onedrive ?

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

@yaronch7

 

In this scenario, since you move the file source from local to cloud, Power BI will verify your account to connect one drive and access the file on cloud instead of using Personal Gateway to access the file locally. You have to re-import the data on Power BI Service. See: Refresh a dataset created from a comma separated value (.csv) file on OneDrive or SharePoint Online

 

In Power BI Desktop, you just need to connect  the file on onedrive. Then go the Advanced Editor in "Edit Query", copy the "Source" part, and replace the Source part in your original dataset.

 

5.PNG

 

Regards,

 

 

View solution in original post

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@yaronch7

 

In this scenario, since you move the file source from local to cloud, Power BI will verify your account to connect one drive and access the file on cloud instead of using Personal Gateway to access the file locally. You have to re-import the data on Power BI Service. See: Refresh a dataset created from a comma separated value (.csv) file on OneDrive or SharePoint Online

 

In Power BI Desktop, you just need to connect  the file on onedrive. Then go the Advanced Editor in "Edit Query", copy the "Source" part, and replace the Source part in your original dataset.

 

5.PNG

 

Regards,

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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