web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : Xxiov+97TPaIPlXFhHEHFt
Power Apps - Microsoft Dataverse
Unanswered

Dataflow not upserting correctly

Like (0) ShareShare
ReportReport
Posted on 13 Oct 2022 08:53:45 by 595

I have a dataflow that upserts data into an existing table.

I have set a unique key, which should be used to detect if a record already exists, and if so, it should be updated.

However, the flow does not run succesfully, because it complains the key already exists...

KoenJanssensPD_1-1665651112743.png

 

the (Dutch) error message translates to: A record with the attribute values xxxxxxx already exists. The entity key xxxxxxxxx requires this set of attributes to contain unique values. Please select unique values and try again.

 

So, it does detect that the key already exists, but it somehow does not update this record...

Any idea why this update is not working?

Categories:
I have the same question (0)
  • AhmedSalih Profile Picture
    6,678 Moderator on 13 Oct 2022 at 12:32:19
    Re: Dataflow not upserting correctly

    Hello, @KoenJanssensPD , Your unique key should be the alternate key in the table. And you should map it to primary key of your source. Note, alternate keys can't have duplicates. 

     

     

    If my reply helped you, please give a đź‘Ť , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 714 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard

Featured topics