Forum Discussion
bloigge
11 years agoAdvocate IV
Refreshing queries with functions doens't work
Does anyone else experience that refreshing on-premise data via a gateway (for example amount of files in a folder) works if you hardcode the path to the folder, but when you create a function where ...
- 11 years ago
Maybe try this approach..and filter the latest file by date created..Needs more code but it worked - refreshed in PowerBI V1 so probably it will work in V2 as it doesn't use parameters..
bloigge
11 years agoAdvocate IV
konstantinos Thank you for the link. It works - I am now able to refresh my folder data! Nevertheless I think it would be good option to be able to refresh data from a function as well!
lubosbednar
11 years agoHelper I
I totally agree that it has to be solved. Althouth It has working workaround when you use „From Folder“ datasource instead of configuration table with file paths. But when I need to work e.g. with Web.Contents from different web or sharepoint locations then it doesn’t have solution yet. Thanks for solving.