Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 CreateOrOverwrite
Even 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?
Hi @kevingauv
yes that will happen if the report is connecting to a different dataset, because this is seen as a new / different report and will create a report with the same name, but the underlying GUID is different.
As far as I am aware this is by design.
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 )...
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 CreateOrOverwrite
but 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/eyo...
but couldn't find that info on any official microsoft docs or forums.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.