cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ajsteers
Frequent Visitor

Query contains unsupported function. Function name: DataLake.Files

I switched from DataLake.Folder() to DataLake.Files() because the latter pulls down files in subfolders and I need to access files (by name filter) from a set of subfolders. Now I'm getting this error. I was very surprised to find that DataLake.Files() isn't supported by remote refresh in the Power BI service while DataLake.Folders() is supported.

 

1. Any plan to add support for automatically refreshing using the DataLake.Files() function?

 

2. In the meanwhile, are there any arguments or other workarounds I can use in the DataLake.Folders() to return the list of files in subfolders as well as the the main folder?

 

Thanks very much!

5 REPLIES 5
GilbertQ
Super User II
Super User II

Hi there

This can happen when the On-Premise Gateway Mashup Engine does not have all the capabilities of Power BI Desktop.

These typically follow at the very latest in the next months release of the On-Premise data gateway.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I'm not using the on premise data gateway. This is in regards to the app.powerbi.com service. Apparently the service supports DataLake.Folders() but not DataLake.Files() - much to my surprise - and I'm looking for a workaround to this issue.

Thanks for letting me know further details.

 

I am not sure how to solve this personally.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I wonder does anyone else have ideas on how to resolve - or any idea on timeline for when/if Power BI will support this natively?

 

I'm about to dive in again but wanted to check in here once more in case there are other ideas from the community.

Hi @ajsteers 

 

I see this when getting data from the Sep version of Power IB Desktop

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

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