cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors