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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.