<?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: Power BI Rest API - Rebind Report In Group in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-Rebind-Report-In-Group/m-p/3313712#M43338</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If I understand correctly, you are trying to rebind the report to another dataset. And the related REST API works well, but the download pbix file still display the old dataset. Am I right? How did you rebind the report to the dataset? You can refer the following links to get it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/pulse/rebinding-power-bi-reports-different-dataset-%C5%A1t%C4%9Bp%C3%A1n-re%C5%A1l" target="_blank"&gt;Rebinding Power BI Reports to Different Dataset (linkedin.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/rebind-report-in-group#code-try-0" target="_blank"&gt;Reports - Rebind Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1. Get workspace id and report id&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_2-1688452785838.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/936794i2E7CF48313FAC384/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_2-1688452785838.png" alt="vyiruanmsft_2-1688452785838.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Call REST API&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/Rebind&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_3-1688452990297.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/936796i0402EC7DF192BDA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_3-1688452990297.png" alt="vyiruanmsft_3-1688452990297.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the above one are OK, please &lt;STRONG&gt;delete &lt;/STRONG&gt;all of the pbix file of that report in computer directory first. Then &lt;STRONG&gt;refresh&lt;/STRONG&gt; the report and &lt;STRONG&gt;download&lt;/STRONG&gt; it &lt;FONT color="#FF0000"&gt;again&lt;/FONT&gt;, check if it still have the "old" dataset in Power BI Desktop.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 06:47:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-04T06:47:21Z</dc:date>
    <item>
      <title>Power BI Rest API - Rebind Report In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-Rebind-Report-In-Group/m-p/3304134#M43255</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use Rest API Rebind Report in Group. Below is my Scenario:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source Dataset : Power BI Dataset 1 connected to AAS Server in Workspace 1&lt;/P&gt;&lt;P&gt;Rebind Report: Report 1 connected live to Dataset 1 in Workspace 1&lt;/P&gt;&lt;P&gt;Target Dataset: Power BI Dataset 2 Connected to AAS Server in Workspace 2 (Composite)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Responses :&amp;nbsp;200 OK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When i Check in Lineage view of Workspace 1, The report is Rebinded to Target Dataset. But when i download the particular Report the data set is still reflected to power BI Dataset 1 (Source Dataset)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The main purpose is to change the dataset without changing the Report ID since the reports are embedded to our portal.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any Leads to this issue?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 10:49:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-Rebind-Report-In-Group/m-p/3304134#M43255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-27T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Rest API - Rebind Report In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-Rebind-Report-In-Group/m-p/3313712#M43338</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If I understand correctly, you are trying to rebind the report to another dataset. And the related REST API works well, but the download pbix file still display the old dataset. Am I right? How did you rebind the report to the dataset? You can refer the following links to get it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/pulse/rebinding-power-bi-reports-different-dataset-%C5%A1t%C4%9Bp%C3%A1n-re%C5%A1l" target="_blank"&gt;Rebinding Power BI Reports to Different Dataset (linkedin.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/rebind-report-in-group#code-try-0" target="_blank"&gt;Reports - Rebind Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1. Get workspace id and report id&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_2-1688452785838.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/936794i2E7CF48313FAC384/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_2-1688452785838.png" alt="vyiruanmsft_2-1688452785838.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Call REST API&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/Rebind&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_3-1688452990297.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/936796i0402EC7DF192BDA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_3-1688452990297.png" alt="vyiruanmsft_3-1688452990297.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the above one are OK, please &lt;STRONG&gt;delete &lt;/STRONG&gt;all of the pbix file of that report in computer directory first. Then &lt;STRONG&gt;refresh&lt;/STRONG&gt; the report and &lt;STRONG&gt;download&lt;/STRONG&gt; it &lt;FONT color="#FF0000"&gt;again&lt;/FONT&gt;, check if it still have the "old" dataset in Power BI Desktop.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 06:47:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-Rebind-Report-In-Group/m-p/3313712#M43338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-04T06:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Rest API - Rebind Report In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-Rebind-Report-In-Group/m-p/3326502#M43431</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done as you have mentioned above. I found out from Microsoft that the changes will be done in Service but the pbix file we need to change the dataset to target manually.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks for your help&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 03:48:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-Rebind-Report-In-Group/m-p/3326502#M43431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-12T03:48:40Z</dc:date>
    </item>
  </channel>
</rss>

