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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors