Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ArturPL
New Member

How to configure dataflow to use incremental refresh when pulling data from API

Hi Power BI Community!

 

I have a problem with incremental refresh policy in dataflow when trying to pull data from external API. I have M script which pulls the data using GET request with access_token and StartDate and EndDate parameters. I can only pull data from 1 day because of API limitations and amount of data and to avoid API timeouts. For that I used RangeStart and RangeEnd parameter in code, similar as in my desktop version of dashboard, which was working fine. I can see that dataflow pulled data for one defined date in RangeStart and RangeEnd params.

But here the problem occurs. I cannot set up incremental refresh policy becasue it says: 

"Can't save dataflow

Model is invalid because it contains duplicate query names. Error: This document contains a duplicate member 'RangeStart'"

 

As I read somewhere, in dataflows there is no need to use RangeStart and RangeEnd since it's pulling incrementally using existing datetime column for that. But how I should do it with pullnig data from API? How to pass parameters to my GET request? Is there any solution for this? Workaround or something?

 

Thanks and regards,

Artur

 

2 REPLIES 2
jellyjoe
Helper I
Helper I

Hi @ArturPL,

Sorry to dig out the old topic but did you find a solution to your issue?
I have a similar problem.

 

Kind regards

 

Anonymous
Not applicable

Hi @ArturPL ,

Please  Make sure you are configuring incremental refreshes based on the documentation.

Using incremental refresh with dataflows - Power Query | Microsoft Learn

 

I have also found a similar post, please refer to it to see if it helps you.

Solved: API Incremental Refresh - Microsoft Power BI Community

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.