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
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
Super User
Super User

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

 

 


@ 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!:
The Definitive Guide to Power Query (M)

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.


@ 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!:
The Definitive Guide to Power Query (M)

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
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.

Top Solution Authors
Top Kudoed Authors