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

How to change report data source from local sample to sharepoint csv

Being new to Power BI, I used a subset of data in csv format to create my report.  Now that the report is complete, the data source needs to be a SharePoint csv file.  How do I do this?  Do I change the data source prior to publishing? Are step-by-step instructions / examples available?

8 REPLIES 8
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

If you take the answer of someone, please mark it as the solution to help the other members who have same problems find it more quickly. If not, let me know and I'll try to help you further. Thanks.
 
Best Regards
Allan
 
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Importing files from OneDrive or SharePoint Online into the Power BI service is a great way to make sure your work in Power BI Desktop stays in sync with the Power BI service. When you connect to a .csv file on OneDrive or SharePoint Online, a dataset is created in Power BI. Data from the .csv file is then imported into the dataset in Power BI. Power BI then automatically connects to the file and refreshes any changes with the dataset in Power BI. If you edit the .csv file in OneDrive, or SharePoint Online, once you save, those changes will appear in Power BI, usually within about an hour. Any visualizations in Power BI based on the dataset are automatically updated too.

 

For further information, you may refer to the following links.

https://docs.microsoft.com/en-us/power-bi/refresh-desktop-file-onedrive

https://docs.microsoft.com/en-us/power-bi/refresh-csv-file-onedrive

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thank you for these links.  I will need to do this once I figure out how to go from the local data source to the SharePoint file as data source.  I've tried the other suggestions and been unsuccessful so far.  Any help on that would be greatly appreciated.

Tahreem24
Super User
Super User

You can refer below step to change the data source:
Go to query editor --> go to select query step at right panel--> select source -->so it will open formula bar and under that change the file path to new file path.

Don't forget to give thumbs up 👍 and accept this as a solution if it helped you.
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

I tried this, but didn't see an option for selecting a sharepoint file.  Please advise.

Or you can refer below video of 4 mins to get your need.

https://youtu.be/mqoV-CRegp8

Don't forget to give thumbs up 👍and accept this as a solution if this helps you.
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

Thanks for the link.  This looks simple, but browsing does not show SharePoint as an option.  How do I do that?  Also, if the filename is different going to the production dataset, will created measures automatically be converted?

kentyler
Solution Sage
Solution Sage

I believe this blog post is a "step by step" example.

https://visualbi.com/blogs/microsoft/powerbi/implementing-source-data-location-change-existing-power...





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


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.