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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Microsoft PowerApp - D...
Power Apps
Unanswered

Microsoft PowerApp - Deleting duplicates in excel using a UniqueID (not working for one PowerApp user)

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I've developed a PowerApp that allows users to edit records in an excel worksheet. Simply put,

  • Records in the excel worksheet have a Unique Identifier, pre-determined by scrambling together 26 letters and characters in random order
  • In the PowerApp is a gallery made up of the responses in the excel worksheet
  • In this gallery, a user can make edits to the records in the response sheet row by row (there are dropdowns and open-ended comments)
  • When an edit is made in one row, that whole row is recorded in a collection
  • After making all necessary edits, the user clicks a submit button
  • First, PowerApp checks the collection and looks for the Unique Identifier column. Then, it goes to the excel worksheet, finds each Unique Identifier that it previously found in the collection, and deletes those rows completely. Finally, it appends the collection to the excel worksheet.
  • So basically, the original record in the excel worksheet is deleted before appending the new record

I have about 20 users of the PowerApp. This process works for 19 of them. For some reason, for one user, the PowerApp skips the "remove duplication" step, so we end up with many duplicate rows. It's as if the PowerApp doesn't check and delete Unique Identifiers for this one use, and I don't know why. The issue is not systematic since it only affects one person.

 

Does anyone know what could possibly be causing this? Perhaps that user's computer is just slow?

 

Chris

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard