Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Power BI Rest API - Rebind Report In Group

Hello team,

 

I tried to use Rest API Rebind Report in Group. Below is my Scenario:

 

Source Dataset : Power BI Dataset 1 connected to AAS Server in Workspace 1

Rebind Report: Report 1 connected live to Dataset 1 in Workspace 1

Target Dataset: Power BI Dataset 2 Connected to AAS Server in Workspace 2 (Composite)

 

Responses : 200 OK

 

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)

 

The main purpose is to change the dataset without changing the Report ID since the reports are embedded to our portal.

Any Leads to this issue? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

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:

Rebinding Power BI Reports to Different Dataset (linkedin.com)

Reports - Rebind Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

1. Get workspace id and report id

vyiruanmsft_2-1688452785838.png

2. Call REST API

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/Rebind

vyiruanmsft_3-1688452990297.png

If the above one are OK, please delete all of the pbix file of that report in computer directory first. Then refresh the report and download it again, check if it still have the "old" dataset in Power BI Desktop.

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

 

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. 

 

THanks for your help

Anonymous
Not applicable

Hi @Anonymous ,

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:

Rebinding Power BI Reports to Different Dataset (linkedin.com)

Reports - Rebind Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

1. Get workspace id and report id

vyiruanmsft_2-1688452785838.png

2. Call REST API

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/Rebind

vyiruanmsft_3-1688452990297.png

If the above one are OK, please delete all of the pbix file of that report in computer directory first. Then refresh the report and download it again, check if it still have the "old" dataset in Power BI Desktop.

Best Regards

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.