Forum Discussion
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
- kentyler
Solution Sage
I believe this blog post is a "step by step" example.
- Tahreem24
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.- Tahreem24
Super User
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.- AnonymousNot 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?
- AnonymousNot applicable
I tried this, but didn't see an option for selecting a sharepoint file. Please advise.
- v-alq-msft
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.
- AnonymousNot 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.
- v-alq-msft
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 RegardsAllan