Forum Discussion
Duplicate report names
I am getting duplicate report names when publishing reports from CLI
I have something like this:
// this is PowerShell, but there's not syntax highlighting for it on here -_-
New-PowerBIReport -Path $path -WorkspaceId $workspace.Id -ConflictAction CreateOrOverwriteEven though I use CreateOrOverWrite I'm getting multiple reports with the same name.
Could it be that they're pointing to different datasets?
Only thing I could find to suggest that's an issue is here:
No mention in microsoft docs or forums.
Anyone else seen this issue?
4 Replies
- kevingauvAdvocate III
Got same issue of duplicated reports.
But on my side, I was publishing manually from PBI Desktop.
The duplicated reports are using different datasets... (DEV Vs QA )...
- AnonymousNot applicable
I'm getting multiple reports with the same name when deploying to the PowerBI service from the CLI.
I have something like:
// this is powershell but there's no shell syntax on this for some reason -_- New-PowerBIReport -Path $path -WorkspaceId $workspace.Id -ConflictAction CreateOrOverwritebut I get multiple reports with the same name.
Could this have something to do with the reports pointing to different datasets?
I found this comment stating that's the case:
https://www.reddit.com/r/PowerBI/comments/cxwwhc/publishing_to_power_bi_creates_duplicate_report/eyoe5at?utm_source=share&utm_medium=web2x&context=3but couldn't find that info on any official microsoft docs or forums.
- GilbertQSuper User
Hi Anonymous
Even though the report name might be the same there is an underlying GUID which uniquely identifies the report.
What I am suggesting below is NOT SUPPORTED
If you have to make a copy of your PBIX, then change the extension to .ZIP and open it up, you can then look at the Metadata which will have the GUID.
This will be different between the PBIX files and if you want it to overwrite the existing one you will need to copy this guid to the new file.