<?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: Refresh Tables of Dataset Using Rest API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Tables-of-Dataset-Using-Rest-API/m-p/3764248#M50440</link>
    <description>&lt;P&gt;please tell me can i change the table name of dataset through api, and if i change the table name the reflected that will be show in published report or not ...?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 18:13:28 GMT</pubDate>
    <dc:creator>Shlokyy</dc:creator>
    <dc:date>2024-03-14T18:13:28Z</dc:date>
    <item>
      <title>Refresh Tables of Dataset Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Tables-of-Dataset-Using-Rest-API/m-p/3374969#M43829</link>
      <description>&lt;P&gt;Hi guys, i need a help.&lt;/P&gt;&lt;P&gt;It's possible updated only two tables of a dateset using Power BI API?&lt;/P&gt;&lt;P&gt;Exemple:&lt;BR /&gt;I have a dataset with 4 tables: fSales, fClient, fOrder and fCalls. I wanna updated fCalls and fOrder, the another tables i not wanna updated.&lt;/P&gt;&lt;P&gt;I'm reading the documentation but during my test's i don't have sucessed.&lt;/P&gt;&lt;P&gt;For this exemple the body object used in requested is:&lt;BR /&gt;dataset_objects =&lt;BR /&gt;{&lt;BR /&gt;"refresh": {&lt;BR /&gt;"type": "Automatic",&lt;BR /&gt;"commitMode": "PartialBatchl",&lt;BR /&gt;"objects": [&lt;BR /&gt;{&lt;BR /&gt;"database": "test_refresh",&lt;BR /&gt;"table": "fCalls"&lt;BR /&gt;}&lt;BR /&gt;, {&lt;BR /&gt;"database": "test_refresh",&lt;BR /&gt;"table": "fOrder"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;The complete link of requested is:&lt;BR /&gt;base_url = '{API_PBI}/groups/{workspace_id}/datasets/{dataset_id}/refreshes'&lt;BR /&gt;headers = {'Authorization': f'Bearer {pbi_token}', 'Content-&lt;BR /&gt;body = {"notifyOption" : "NoNotification", "objects" : dataset_objects}&lt;/P&gt;&lt;P&gt;r = requests.post(url=base_url, headers=headers, data=json.dumps(body))&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 20:03:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Tables-of-Dataset-Using-Rest-API/m-p/3374969#M43829</guid>
      <dc:creator>rafaelBrasil</dc:creator>
      <dc:date>2023-08-10T20:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Tables of Dataset Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Tables-of-Dataset-Using-Rest-API/m-p/3377507#M43865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/601517"&gt;@rafaelBrasil&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Your body looks more like a XMLA payload. When using the Power BI REST API, Power BI knows already from the URL which dataset to use and that it's all about a refresh. So you only need this part of your request body:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "type": "automatic",
    "commitMode": "partialBatch",
    "objects": [
        {
            "table": "fCalls"
        },
        {
            "table": "fOrder"
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create partitions and only refresh the latest partition if you need to speed up the refresh.&lt;/P&gt;&lt;P&gt;For more details refer to the documentation:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P class="lia-align-right"&gt;&lt;A title="GitHub" href="https://github.com/MartinBubenheimer" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="github.png" style="width: 34px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/933704i8348AD2A9C7A3ED4/image-dimensions/34x34?v=v2" width="34" height="34" role="button" title="github.png" alt="github.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;A title="linkedin" href="https://www.linkedin.com/in/martin-bubenheimer-9ba99271/" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="linkedin.png" style="width: 36px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/933703i7ADBF83A4A253887/image-dimensions/36x31?v=v2" width="36" height="31" role="button" title="linkedin.png" alt="linkedin.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 20:14:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Tables-of-Dataset-Using-Rest-API/m-p/3377507#M43865</guid>
      <dc:creator>Martin_D</dc:creator>
      <dc:date>2023-08-12T20:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Tables of Dataset Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Tables-of-Dataset-Using-Rest-API/m-p/3764248#M50440</link>
      <description>&lt;P&gt;please tell me can i change the table name of dataset through api, and if i change the table name the reflected that will be show in published report or not ...?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 18:13:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Tables-of-Dataset-Using-Rest-API/m-p/3764248#M50440</guid>
      <dc:creator>Shlokyy</dc:creator>
      <dc:date>2024-03-14T18:13:28Z</dc:date>
    </item>
  </channel>
</rss>

