Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

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...
  • Anonymous's avatar
    Anonymous
    3 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}/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