cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ConorSheehan
Frequent Visitor

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 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:

https://www.reddit.com/r/PowerBI/comments/cxwwhc/publishing_to_power_bi_creates_duplicate_report/eyo...

No mention in microsoft docs or forums.

Anyone else seen this issue?

4 REPLIES 4
GilbertQ
Super User
Super User

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.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

kevingauv
Frequent Visitor

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 )...

ConorSheehan
Frequent Visitor

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.

GilbertQ
Super User
Super User

Hi @ConorSheehan 

 

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.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!

Top Solution Authors
Top Kudoed Authors