Forum Discussion
How does PowerBI assign a ReportID when published and can the ID be changed?
- 3 months ago
Hi sasdfasdfsad ,
Thank you for the additional information.
The key detail is that the report was repointed to a different semantic model before it was republished. Since there are now two reports with the same name in the workspace, Power BI appears to have created a new report artifact instead of updating the existing one, which would explain the different ReportIDs.To better understand why this occurred, could you confirm:
-
Was the report originally connected to one semantic model and then republished after being switched to a different semantic model?
-
Do both reports appear to be connected to different semantic models in the workspace?
-
During publishing, were you prompted to replace the existing report?
These details will help determine whether the semantic model change influenced the publish behavior or whether Power BI treated the report as a new artifact for another reason.
Best Regards,
Abdul Rafi -
The report ID is assigned by the service when a PBIX is first published, and Publish only overwrites an existing report when the PBIX filename matches the report name in the target workspace and you confirm the Replace prompt. A new report (and a new ID) is created when the filename differs from the existing report name, when the PBIX is uploaded via the web UI instead of Publish from Power BI Desktop, or when the Replace prompt is skipped.
To recover, delete the new duplicate so the workspace only has the original. Rename your local PBIX so its filename matches the original report name exactly, open it in Power BI Desktop, and click Publish to that workspace. You should see the "A report named ... already exists. Do you want to replace it?" prompt, confirm yes, and the original report ID is preserved, so the links your org already shared keep working.
If you no longer have the matching PBIX, download the original from the workspace via File then Download this report as .pbix, edit from that copy, and republish.
If that was helpful, please give a thumbs up and mark it as resolved.
Thank you,
Shai Karmani