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

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.

Reply
willclein
Helper I
Helper I

Change Power BI dataset used for DQ - An item with the same key has already been added

Does anyone have tips for switching to a different PBI DQ dataset?

 

When I use the Change source dialog to switch to a different dataset with the same tables, I get an error that says "An item with the same key has already been added".

 

How can I switch to a different dataset without completely rebuilding the report?

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

Hi @willclein ,

 

Please check whether there are some columns in the tables that have the same field name. If so, please rename these columns to enable each column has its unique field name. 

You can also refer the following similar case that could help you:

Solved: Unexpected error: An item with the same key has al... - Microsoft Power BI Community

Besides, you can update to the latest desktop version to see if the problem still exists.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @willclein ,

 

Please check whether there are some columns in the tables that have the same field name. If so, please rename these columns to enable each column has its unique field name. 

You can also refer the following similar case that could help you:

Solved: Unexpected error: An item with the same key has al... - Microsoft Power BI Community

Besides, you can update to the latest desktop version to see if the problem still exists.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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