Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

Managing Duplicate Records and Adding New Descriptions in SharePoint List

Like (1) ShareShare
ReportReport
Posted on 17 Jul 2023 09:27:53 by

Hello everyone! I am developing a Nomination App using Power Apps with SharePoint as the underlying database. In this app, whenever a person is nominated, their ID and description are saved and stored in SharePoint. If another person nominates the same individual again, it is important to avoid creating a duplicate record for that person. Instead, I would like to enable the addition of a new description to the existing record in SharePoint. How can I accomplish this?

  • sandeepstw Profile Picture
    302 Super User 2025 Season 1 on 17 Jul 2023 at 09:51:55
    Re: Managing Duplicate Records and Adding New Descriptions in SharePoint List

    Hi There,

     

    You can do this using 

    First check duplicate record in SharePoint list. 

    varExistingRecord = LookUp(SharePointList, ID = txtID.Text)

     Then check if it's blank and create new one - 

    If(IsBlank(varExistingRecord), Collect(SharePointList, {ID: txtID.Text, Description: txtDescription.Text}))

    other wise  

    Patch(SharePointList, varExistingRecord, {Description: varExistingRecord.Description & " " & txtDescription.Text}))

     

    Please give kudos and mark as solution if it helps.  

      

    Thanks, 

    Sandeep Mishra 

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard
Loading started