There are various scenarios where Power BI requires a gateway to refresh our information. Sometimes it's necessary and makes sense, but other times it can be frustrating.
There may be more scenarios than the ones I will mention, but typically when scraping a website (using the Web.Pages function in Power Query), a gateway is required. You might have a complex operation that you consider solving with Python within Power BI, but that also requires a gateway.
This article will show how we can use Azure Functions to perform a simple operation with Python and then read it from Power BI as a simple API GET request.
Read more...