Hello everyone,
I made a PowerBI report that retrieves data from a public web API.
In order to do that, it needs to provide as API parameters latitude and longitude of a point.
I retrieve those coordinates from an Excel file, which is located on a folder in the company Sharepoint.
If I refresh the report from Power BI Desktop, it works.
If I refresh the report dataset from Power BI Service, after the report is published, it does not work, providing the following error message: [Unable to combine data] Section1/Eventi/AutoRemovedColumns1 references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.
I already looked for this issue and found this blog post, which is often mentioned as solution for this kind of issues:
https://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/
I applied all the suggestions of that post, by loading the Excel file in a staging query and then referencing it from the query where I perform the web call, but I still get the error.
I set the privacy level for the Sharepoint folder to "Organizational" and for the API as "Public" (but I tried also with "Organizational", whith the same result).
Last note: if I embed in a query the coordinates that I want to use as parameters and reference this query from the one that retrieves API data the refresh works also from the service, but of course this is not the behavior that I desire.