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
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors