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
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
Employee
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
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