cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Valera
Regular Visitor

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

Hi!

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?

Thanks,
Valera


2 REPLIES 2
Valera
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:

Valera_0-1659687593860.png

Updating this datasource via UpdateDatasource endpoint:

Valera_1-1659688008124.png

Retrieving datasources after update:

Valera_2-1659688110296.png

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.

v-yiruan-msft
Community Support
Community Support

Hi @Valera ,

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

yingyinr_0-1659681516066.png

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

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.