Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi all,
I have some queries extracting data throuh an API. The API providers (all of them) complained that the same query runs more than 20 times.
In my queries, this data retrieved from the API server is refernced many times for different aggregation functions, filters, etc. It seems like every time it is referenced, Power Query runs the API query again, which does not make sense.
I used Table.Buffer almost everywhere and it still does not solve the issue. I am afraid, I might need to resolve to a basic Python code, which takes away all the utilities we had in Power Query and is such a waste of the development time we put in that project.
Any ideas would be appreciated.
Hi @Michael_Anees - may I suggest using a Dataflow for the API. This will obtain the data once to the Dataflow table. Now you can reference the first Dataflow in a second Dataflow or in your Dataset to perform the different aggregations, functions and filters. Essentially, this approach is using the Dataflow to replace the Table.Buffer function.
Hi Daryl,
That would be a nice idea. However, the dataflow would need to be able to accept parameters from Power BI to run the API call. Assuming that is easily done, If many users refresh their Power BI simultaneously, they may end up with the wrong datasets because they would be reading data based on other people's parameters. There needs to be another solution.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.