Forum Discussion
Power BI Rest API - Rebind Report In Group
- Anonymous3 years ago
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
2. Call REST API
POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/RebindIf 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
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
2. Call REST API
POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/Rebind
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