cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ajsteers Frequent Visitor
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
Super User
Super User

Re: Query contains unsupported function. Function name: DataLake.Files

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 Datanaut!"
Power BI Blog
ajsteers Frequent Visitor
Frequent Visitor

Re: Query contains unsupported function. Function name: DataLake.Files

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.

Super User
Super User

Re: Query contains unsupported function. Function name: DataLake.Files

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 Datanaut!"
Power BI Blog
ajsteers Frequent Visitor
Frequent Visitor

Re: Query contains unsupported function. Function name: DataLake.Files

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.

Super User
Super User

Re: Query contains unsupported function. Function name: DataLake.Files

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 Datanaut!"
Power BI Blog

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)