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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
JoanT
Frequent Visitor

Scheduled data refresh of all excel files in a folder

Hello,

 

I am trying to schedule refresh of a report where I use a custom function to pull in excel files from folders.  A new file is added every day.  The scheduled refresh fails because the datasource is dynamic.  Is there another way to do this that will allow the refresh to be scheduled on Power BI Report Server?

 

Thanks!

 

 

2 REPLIES 2
d_gosbell
Super User
Super User

If you use the "Folder" source when building your query you should be able to do this.

d_gosbell_0-1681363337704.png

 

I'm using the folder as a data source to get the list of files and then using a custom function that takes the folder and file name as parameters to pull the data from each file.  I'm assuming the second part is what Power BI server is considering Dynamic and failing.  

 

Are others able to schedule this type of process successfully?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.