Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Data source for dataset with incremental refresh cannot be updated via REST API


There is a PBIX with data source options. I publish it to the workspace and try to update the data source via API endpoint.
But this endpoint does not update the existing data source but adds a new one.
As a result, the dataset has 2 data sources.
This behavior is observed only for datasets with an incremental refresh.
In regular reports, the data source is updated successfully.

How can I update the data source for such a report?


Regular Visitor

Hi @yingyinr,
Thanks for your answer.
Nothing from mentioned limitations is related to my dataset.
XMLA endpoints wern't used.
Data source is SQL server.
There are no parameters in connection details: just plain server address and DB name.
Also, there was mentioned that "The original data source and the new data source must have the exact same schema."
Not sure what it means, but seems to be not related to my case.
Here are API endpoints that I execute:
Retrieving of existing datasources:


Updating this datasource via UpdateDatasource endpoint:


Retrieving datasources after update:


As a result a new datasource was added instead of updating of existing one.
I also checked the same report without incremental refresh.
It works as expected. The existing datasource is updated.

Community Support
Community Support

Hi @Valera ,

Please check if it hit any following limitations, you can find the details in your shared documentation....


If the dataset didn't hit any above limitation, please provide the involved data sources in the dataset and executed operations on it. Thank you.

Best Regards

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

Helpful resources

Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors