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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
drallam
Helper II
Helper II

Schedule Refresh for Excel Sharepoint Files.

Hi all,

 

Sorry for posting this type of question. I have researched a lot and found multiple posts and especially this docuemntation from PowerBI itself. Documentation , Sharepoint Post Post 2 but the answer was not conclusive. Is there a way to schedule refresh the excel data from sharepoint just like we do for SQL servers. 
I have a IT admin who manages the Enterprise Gateway. Would I need a personal gateway. 
Or just a thought can we extract data from excel and  convert to a query table and stage the data in SQL servers.
Any input will be great.

 

Thank you!

4 REPLIES 4
v-sihou-msft
Microsoft Employee
Microsoft Employee

@drallam

 

As mentioned in the document, if you directly connect the Excel workbook hosted on SharePoint Online, you don't need Gateway. But if this Excel workbook connects on-premise data sources, you need to make sure Power BI can connect the on-premise data sources so that Gateway is required. If this on-premise data source is not supported by On-Premise Gateway (Enterprise Gateway), you have to use Personal Gateway.

 

Regards,

@v-sihou-msft

 

Can you please elaborate this statement "But if this Excel workbook connects on-premise data sources, you need to make sure Power BI can connect the on-premise data sources so that Gateway is required." 

I tagged you in another post of me using the Sharepoint Online Excel files. What different shoudl I do to connect the Excel Files to a on-premise Data Sources, do you mean Sharepoint On-Premise instead of Sharepoint Online as @GilbertQ mentioned?

Thanks for your input.

GilbertQ
Super User
Super User

Hi @drallam

 

You can schedule a refresh using SharePoint files, it just depends if your SharePoint is On-Premise or cloud version.


What you can try is in Power BI Desktop under Get Data you can use the SharePoint Files to get your files and point that at the high level folder.

 

Then you can create a data source in the Gateway in the Power BI Service that points to the same location.

 

Just one note is that if in your Power BI Desktop file you have data from SharePoint Online (Cloud Based) and SQL Server (On-Premise) you will for now have to use the Personal Gateway in order to successfully refresh. This is because currently the On-Premise Gateway only supports either Cloud or On-Premise data sources and not a combination.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

2017-09-20 07_58_24-Power BI.png

 @GilbertQ @v-sihou-msft

So, here's my setup. I have a folder in the Sharepoint website and got files in it.
So, my data source is https://company.sharepoint.com/sites/Myfolder in the data source settings.
I was able to schedule refresh and i think it didnot require a Gateway connection. So I would assume I'm using Sharepoint Online (Cloud Based)
What if I switch to a Sharepoint On-Premise(enterprise), would I be able to use the on-premise gateway connection for both SQL and Sharepoint in the same .pbix file?

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 MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.