<?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: Enhanced REST API table partition stopped working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-REST-API-table-partition-stopped-working/m-p/3310016#M43307</link>
    <description>&lt;P&gt;Thank you for the answer. THe refresh policy otion is not working, when added.&lt;BR /&gt;The body part should be correct, i make a copy from SSMS (from the XMLA script).&lt;/P&gt;&lt;P&gt;Most interesting is, that the commands worked, and after weekend, it stoped. There is no error returned (have modified the body so that i get error and then corrected).&lt;BR /&gt;WS is premium.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2023 11:05:09 GMT</pubDate>
    <dc:creator>tomas12344</dc:creator>
    <dc:date>2023-06-30T11:05:09Z</dc:date>
    <item>
      <title>Enhanced REST API table partition stopped working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-REST-API-table-partition-stopped-working/m-p/3304439#M43260</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;Wanted to test some REST API refreshes - refresh only one table partition. After some testing, my steps worked. But after the weekend, everytime I send the command, each time it is refeshed as whole table, not only one partition.&lt;/P&gt;&lt;P&gt;Here the commands I use:&lt;/P&gt;&lt;P&gt;$uri='&lt;A href="https://urldefense.proofpoint.com/v2/url?u=https-3A__api.powerbi.com_v1.0_myorg_groups_&amp;amp;d=DwQFAg&amp;amp;c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&amp;amp;r=73F6Oyr-2FnSHNbrchmU7MZn78Js1lItSJ7CYLbI2Wc&amp;amp;m=zlfyWfLvvx9aKZoDgehtzZt7bRwkVxxA6M8RcUROqb3Fuw3CTbyXDgu2SrU202_N&amp;amp;s=YaCBHV_J7u_217RbY1ys6KdConE_j7ADNe0LApk05ZE&amp;amp;e=" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/&lt;/A&gt; /datasets//refreshes'&lt;/P&gt;&lt;P&gt;$body=@"&lt;/P&gt;&lt;P&gt;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;"refresh": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"type": "full",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"objects": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"database": "FI Report - Betriebskosten v30 Custom partition 2",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"table": "FI-GL T CH MIS - PBI Extrakt",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"partition": "Get-Data0"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;"@&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-PowerBIRestMethod -Method POST -URL $uri -Body $body -ContentType Application/JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea, why it could be not working anymore? Is there any limitation, or could some admin (of PBI or network) restrict this?&lt;/P&gt;&lt;P&gt;Thanks for any advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 13:46:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-REST-API-table-partition-stopped-working/m-p/3304439#M43260</guid>
      <dc:creator>tomas12344</dc:creator>
      <dc:date>2023-06-27T13:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced REST API table partition stopped working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-REST-API-table-partition-stopped-working/m-p/3307448#M43293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/333917"&gt;@tomas12344&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can refer the following links to refresh partition by REST API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset?source=recommendations" target="_blank"&gt;Datasets - Refresh Dataset - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "type": "full",
  "commitMode": "transactional",
  "objects": [
    {
      "table": "Customer",
      "partition": "Robert"
    }
  ],
  "applyRefreshPolicy": "false"
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://www.tackytech.blog/how-to-refresh-individual-tables-or-partitions-in-power-bi-dataset-from-data-factory/" target="_blank"&gt;how to refresh individual tables or partitions in power bi datasets with data factory. (tackytech.blog)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.fourmoo.com/2022/01/12/using-the-power-bi-async-rest-api-to-refresh-a-partition-with-power-automate-using-an-https-url/" target="_blank"&gt;Using the Power BI Async REST API to refresh a partition with Power Automate (Using an HTTPS URL)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There could be a few reasons why the Power BI REST API is not refreshing a specific partition of a table. One possibility is that the table does not have an incremental refresh policy. For tables with no incremental refresh policy, that one partition contains all rows of data for that table, unless filters have been applied.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-xmla" target="_blank"&gt;Advanced incremental refresh and real-time data with the XMLA endpoint in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Another possibility is that the request payload for the POST /refreshes method is not set correctly. An enhanced refresh is triggered only if a request payload other than notifyOption is set. For enhanced refresh, notifyOption is not required and must be excluded from the request body. However, one or more parameters other than notifyOption are required.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset" target="_blank"&gt;Datasets - Refresh Dataset - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1688017751992.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/935013i4A7951CAFD3F0A81/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1688017751992.png" alt="vyiruanmsft_0-1688017751992.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 05:49:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-REST-API-table-partition-stopped-working/m-p/3307448#M43293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-29T05:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced REST API table partition stopped working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-REST-API-table-partition-stopped-working/m-p/3310016#M43307</link>
      <description>&lt;P&gt;Thank you for the answer. THe refresh policy otion is not working, when added.&lt;BR /&gt;The body part should be correct, i make a copy from SSMS (from the XMLA script).&lt;/P&gt;&lt;P&gt;Most interesting is, that the commands worked, and after weekend, it stoped. There is no error returned (have modified the body so that i get error and then corrected).&lt;BR /&gt;WS is premium.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 11:05:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-REST-API-table-partition-stopped-working/m-p/3310016#M43307</guid>
      <dc:creator>tomas12344</dc:creator>
      <dc:date>2023-06-30T11:05:09Z</dc:date>
    </item>
  </channel>
</rss>

