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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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