Forum Discussion
Automatic dataset refresh from Excel data source on Sharepoint
- Anonymous7 years ago
nhenri ,
If you are using on-premises SharePoint, gateway is required. If your are using SharePoint online, gateway is not required, just change data source of your Power BI report in Power BI Desktop.
Regards,Lydia
When you say Sharepoint, you mean Sharepoint Online via Office 365? That should refresh automatically.
But when you say your gateway isn't supported, that tells me you are mashing up data. You don't need a gateway for Sharepoint Online files, and once you mash up data with on prem (gateway) and oneline data, you must do a scheduled refresh, and you have to configure your gateway to allow online data to refresh through the gateway in the gateway config.
- nhenri7 years agoFrequent Visitor
Hi,
you're right: Sharepoint online for O365! and yes, "automatic refresh" is what I expect.
To clarify the "gateway" topic:
- I didn't deploy any, as I'm expecting the refresh to work "as is"
- nevertheless, when requesting a manual refresh of the dataset in Power BI services (my report doesn't update automatically), I receive an error message as if I'd have to configure a gateway (see attach.)
Thanks for helping
- Anonymous7 years agoNot applicable
nhenri ,
>>I built the report/dataset in Power BI Desktop, performing a GET DATA and using the EXCEL connector (then browsing thru my company Sharepoint folders and connecting to the right Excel workbookThe Excel connector can only access to an Excel file stored in an on-premise folder, the Excel file you connected is just a synced file with Sharepoint online, it is still a local file. In this scenario, we will need to configure a gateway to refresh the on-premise file.
If we want to use the Excel in Sharepoint Online, we can use the Sharepoint Folder connector or Web connector. Please refer to the following blogs to get detailed steps to configure them.
Using the Web connector: https://docs.microsoft.com/en-us/power-bi/desktop-use-onedrive-business-links
Using the Sharepoint Folder connector: https://powerbi.tips/2016/09/loading-excel-files-from-sharepoint/
In your scenario, you can replace the original on-premise source to the Sharepoint Folder or Web source using the following steps, this way, you don’t have to re-create the whole report and it doesn’t require gateway to refresh data after you publish PBIX file to Power BI Service.
- Open Power Query Editor by clicking the Home -> Edit Queries.
- Then refer to this blog to replace queries: https://www.decisivedata.net/blog/change-a-power-bi-data-source-type
Regards,
Lydia - edhans7 years agoCommunity Champion
That isn't SHarepoint Online for Office 365. That file path is a local file path to an on-prem sharepoint server. You have to install and configure a gateway.
- nhenri7 years agoFrequent Visitor
edhans Anonymous
Thank you guys! I guess I learnt what "on-premise" files means :-). My company indeed uses its own servers for our cloud based Office365 deployment.
Based on your feedback, I understand that I don't have any other choices: I need to deploy a gateway.
Thanks again to nail it down quickly.