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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors