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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
hejszyszky
Helper II
Helper II

Unable to schedule refresh due to hand made query

Hi,

I've created query to take all files from 4 different folders to concatenate with code below.

2021-11-19_13h26_17.png

 

 

Which I believe caused error below : 2021-11-19_13h26_35.png

 

 

 

 

When trying to refresh or schedule refresh in power bi service i get the error below:
2021-11-19_13h29_48.png2021-11-19_13h30_10.png

 

 

 

Did someone handle situation/problem as above? I've only seen solutions to problem above when getting data from some web sources ...  Any ideas if there is a way to do it for .xls files/handmade queries? Also, the files are stored on network drive.

Thanks in advance!

3 REPLIES 3
AllisonKennedy
Super User
Super User

Not sure what your data source is, but here's my experience on this error: https://excelwithallison.blogspot.com/2021/07/tokyo-olympics-schedule-refresh-in.html 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Hi @AllisonKennedy ,
Thanks for your reply. My data source is around 30-40 .xlsx files with same data structure from 4 different folders on network disk so sth like :M/PRO/A , :M/PRO/B, etc. These files are joined/concatenated with power query's get data from folder - modified due to four diffrent locations.
So regarding your solution i am not able to create web links...

Do you think is there a way to make this data source static?

@hejszyszky Hmm, I don't use local network drives - all my data is in SharePoint so can use the URL trick. 

You might be able to get it working if you can provide a filepath that is a valid data source at each step of the query/source.

Otherwise if it's only 4 folders, you could create 4 queries for each using 'from folder' and append them?

 

@ImkeF  is the Power Query guru so will see if she has any ideas on this as well.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.