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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
amiquel
Regular Visitor

An entry with the same key already exists error

Im importing diferente tables from a datamart, and i get this error when i try to import the fact table. Why is this?

 

Thanks,

9 REPLIES 9
Greg_Deckler
Community Champion
Community Champion

Typically that means that you have two columns with the same name and you need them to have distinct names within the query context.

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

In this i dont have fields with the same name. I deleted all the other tables and i tried to import the fact table, and threw the same error. Any ideas?

Probably a lot of work, but I generally troubleshoot stuff like this by importing one column, do I get the issue? No, import half the columns, do I get the issue? Yes, import half as many columns again...and so on and so forth. Bisection troubleshooting method.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Sorry, Im new in this tool. How can i import just a few columns? When i tried to import the tabel i get this error:

 

Expression.Error: La clave no coincidió con ninguna fila de la tabla.
Detalles:
Key=Record
Table=Table

 

And i cant select just a few columns...

 

thanls,

The table had 300.000 rows, and that was the proble, i tried importing just 50.000 and it was ok.

 

How many rows does power BI support?

 

Thanks.

andre
Memorable Member
Memorable Member

a 64 bit version will support as much as how much you can fit in your RAM, typically millions of rows.  Do you have any relationships for your fact table?  Can you start a brand new model and just import that one fact table and see what happens?

What kind of database server is this?

I have MySql. Could it be the problem?

andre
Memorable Member
Memorable Member

it should not matter what your back end is.  I would try to create a new model with just that table in it and see what happens.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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