<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Data source for dataset with incremental refresh cannot be updated via REST API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/3588496#M45808</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32357"&gt;@Dan2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Unfortunately not. But we were able to bypass this issue via parameters. We added ServerName and DbName parameters to report:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Valera_0-1702890555685.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1012464i5415854AD9EB6D43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Valera_0-1702890555685.png" alt="Valera_0-1702890555685.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And updated them using this endpoint: &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2023 09:09:52 GMT</pubDate>
    <dc:creator>Valera</dc:creator>
    <dc:date>2023-12-18T09:09:52Z</dc:date>
    <item>
      <title>Data source for dataset with incremental refresh cannot be updated via REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/2674908#M37670</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;There is a PBIX with data source options. I publish it to the workspace and try to update the data source via &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources-in-group" target="_self"&gt;API endpoint.&lt;/A&gt;&lt;BR /&gt;But this endpoint does not update the existing data source but adds a new one.&lt;BR /&gt;As a result, the dataset has 2 data sources.&lt;BR /&gt;This behavior is observed only for datasets with an incremental refresh.&lt;BR /&gt;In regular reports, the data source is updated successfully.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can I update the data source for such a report?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Valera&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 08:29:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/2674908#M37670</guid>
      <dc:creator>Valera</dc:creator>
      <dc:date>2022-08-02T08:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data source for dataset with incremental refresh cannot be updated via REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/2683421#M37735</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/420256"&gt;@Valera&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please check if it hit any following limitations, you can find the details in &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources-in-group#limitations" target="_self"&gt;your shared documentation&lt;/A&gt;....&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1659681516066.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/760451iE1DE1AD007232A2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1659681516066.png" alt="yingyinr_0-1659681516066.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 06:51:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/2683421#M37735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-05T06:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data source for dataset with incremental refresh cannot be updated via REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/2683690#M37740</link>
      <description>&lt;P&gt;Hi @&lt;SPAN class=""&gt;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/196136" target="_self"&gt;&lt;SPAN class=""&gt;yingyinr&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;BR /&gt;Thanks for your answer.&lt;BR /&gt;Nothing from mentioned limitations is related to my dataset.&lt;BR /&gt;XMLA endpoints wern't used.&lt;BR /&gt;Data source is SQL server.&lt;BR /&gt;There are no parameters in connection details: just plain server address and DB name.&lt;BR /&gt;Also, there was mentioned that "The original data source and the new data source must have the exact same schema."&lt;BR /&gt;Not sure what it means, but seems to be not related to my case.&lt;BR /&gt;Here are API endpoints that I execute:&lt;BR /&gt;Retrieving of existing datasources:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Valera_0-1659687593860.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/760525iA773EADFF29CF03E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Valera_0-1659687593860.png" alt="Valera_0-1659687593860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Updating this datasource via &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources-in-group" target="_self"&gt;UpdateDatasource endpoint&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Valera_1-1659688008124.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/760537i62B1EF42274D8522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Valera_1-1659688008124.png" alt="Valera_1-1659688008124.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Retrieving datasources after update:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Valera_2-1659688110296.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/760542i79EDE618FCD53837/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Valera_2-1659688110296.png" alt="Valera_2-1659688110296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As a result a new datasource was added instead of updating of existing one.&lt;BR /&gt;I also checked the same report without incremental refresh.&lt;BR /&gt;It works as expected. The existing datasource is updated.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 08:30:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/2683690#M37740</guid>
      <dc:creator>Valera</dc:creator>
      <dc:date>2022-08-05T08:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data source for dataset with incremental refresh cannot be updated via REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/3586288#M45791</link>
      <description>&lt;P&gt;Hi Valera, did you get an answer for this? I have the exact same problem where it is creating a new datasource instead of updating on incremental refreshes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 18:33:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/3586288#M45791</guid>
      <dc:creator>Dan2</dc:creator>
      <dc:date>2023-12-15T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data source for dataset with incremental refresh cannot be updated via REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/3588496#M45808</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32357"&gt;@Dan2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Unfortunately not. But we were able to bypass this issue via parameters. We added ServerName and DbName parameters to report:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Valera_0-1702890555685.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1012464i5415854AD9EB6D43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Valera_0-1702890555685.png" alt="Valera_0-1702890555685.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And updated them using this endpoint: &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 09:09:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-source-for-dataset-with-incremental-refresh-cannot-be/m-p/3588496#M45808</guid>
      <dc:creator>Valera</dc:creator>
      <dc:date>2023-12-18T09:09:52Z</dc:date>
    </item>
  </channel>
</rss>

