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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I have a power query that calls a function to get PowerBI Activity with an API Call. The function keeps calling itself combining the data until the continuation token is null. This works fine in PowerBI Desktop. But in Power BI Dataflow, I get circular dependency error.
This is the power query. Does anyone know how to get dataflow to not error with the circular dependency?
The Function Name is: GET Activity
Solved! Go to Solution.
Hi, @alan2468
Power Query in Power BI Desktop and Power BI Dataflow have some differences in how they process queries. Dataflows are designed to discourage or prevent circular references, which can cause sync issues in a cloud environment. In contrast, Power BI Desktop is more lenient with such dependencies because the processing is local.
Instead of using recursion, rework the logic to be iterative, you can use while loop to process pages of data until the continuation token is null, appending results after each call. If possible, pre-load the data to an intermediate storage (like Azure Blob Storage) then use DF to the read the data. If the data size is manageable, you might retrieve all the data in one call, then use schedule refresh.
Proud to be a Super User!
Hi, @alan2468
Power Query in Power BI Desktop and Power BI Dataflow have some differences in how they process queries. Dataflows are designed to discourage or prevent circular references, which can cause sync issues in a cloud environment. In contrast, Power BI Desktop is more lenient with such dependencies because the processing is local.
Instead of using recursion, rework the logic to be iterative, you can use while loop to process pages of data until the continuation token is null, appending results after each call. If possible, pre-load the data to an intermediate storage (like Azure Blob Storage) then use DF to the read the data. If the data size is manageable, you might retrieve all the data in one call, then use schedule refresh.
Proud to be a Super User!
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |