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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Using Table.AddKey does not work. Primary Key is not recognized.

I'm creating a dataflow which imports data from an SQL DB with the on-premise data gateway to the dataverse. I want to import the data into an existing table "account". To update the records I need to define a primary key which I do through Transform >Mark as key and set "isPrimary" to true.

wd_sos_1-1649071965940.png

 

This works just fine, but when I want to use this configuration to load the data into an existing table, the key is not recognized.

wd_sos_2-1649071989739.png

 

wd_sos_0-1649071924575.png

Where did I make an mistake?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

The solution I found is that I need to create a key in the solution itself. Which then I can select in the power query.

wd_sos_0-1649670452963.png

 

But still, I don't know when the Addkey is necessary.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

The solution I found is that I need to create a key in the solution itself. Which then I can select in the power query.

wd_sos_0-1649670452963.png

 

But still, I don't know when the Addkey is necessary.

amitchandak
Super User
Super User

@Anonymous , In account table, before the step to add key add delete duplicate based on account column

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Unfortunately it didn't work. The key column value is still (none) when I use the "Load to existing table"

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors