cancel
Showing results for 
Search instead for 
Did you mean: 
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.

Check out my Olympics 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 Olympics 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
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!