cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hejszyszky
Helper I
Helper I

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.

Check out my Tokyo 2020 report with live stats - KUDOS much appreciated

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.

Check out my Tokyo 2020 report with live stats - KUDOS much appreciated

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
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors