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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.