Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
barwe
Frequent Visitor

How to create new 'logicalID' localy?

Hey, I have git integration with one workspace. 

 

The folder structure is simple. Its one report and one semantic model: 

Reports.Report

Reports.Dataset

 

I just copy passed the Reports.Report so now the folder look like:

Reports.Report

Reports_Coppy.Report

Reports.Dataset

 

After the commit in the power bi, I received an error:

"Duplicate logicalIDs
This action can't be completed because the following items have duplicate logicalIDs."

 

So I just changed the:

`logicalId` in `./Reports_Coppy.Report/item.config.json` (I just randomly change one character in string)

`displayName` `./Reports_Coppy.Report/item.metadata.json`. 

 

It works, but I am not sure if I am free to set `logicalId` to any string I like, or is there a strict way to do this?

Also, is there something else I should be aware of when I copy/pase the entire [name].Report folder? How to do it properly?

 

Thanks 

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @barwe,

I suppose the file structure with git integration should has its own data fold trees and structures to recognize.
For this scenario, you can't directly add or remove duplicate field to the location. If you want to back up some files, I'd like to suggest you move these files to outside which not affect the recognize processing of current folder structures.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
alihm
Power BI Team
Power BI Team

If you copy-paste a report, change the logical ID of the new report to a random new GUID and it will work.

 

v-shex-msft
Community Support
Community Support

HI @barwe,

I suppose the file structure with git integration should has its own data fold trees and structures to recognize.
For this scenario, you can't directly add or remove duplicate field to the location. If you want to back up some files, I'd like to suggest you move these files to outside which not affect the recognize processing of current folder structures.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.