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 / How to Find: Duplicate...
Power Apps
Answered

How to Find: Duplicates in text box

(0) ShareShare
ReportReport
Posted on by 4

Hello Community, I'm wondering if there is any feature in PowerApps, where I can check for duplicates in a textbox and display it to a user as an alert before the user submits the data into a data source say, SharePoint List. I'm creating an app where the user scans barcodes and text is displayed onto the textbox... but I want to show the user if duplicates are found. Hope this helps! TIA..

Categories:
  • Mike8 Profile Picture
    1,330 on at

    Hello bgr0511,

    You can take a look at Split() and Distinct() functions.
    If you don't find a solution can you explain a little more, please?
    An example would be helpful. 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi BG,

     

    It sounds to me that you want to prevent putting a duplicate value into your datasource.  If this is the case, Meneghino had a thread to show you how. see https://powerusers.microsoft.com/t5/General-Discussion/Prevent-duplicate-values-in-a-collection-data-validation/td-p/58906.  Hope this helps.

  • Verified answer
    JRaasumaa Profile Picture
    1,325 on at

    @Drrickryp wrote:

    Hi BG,

     

    It sounds to me that you want to prevent putting a duplicate value into your datasource.  If this is the case, Meneghino had a thread to show you how. see https://powerusers.microsoft.com/t5/General-Discussion/Prevent-duplicate-values-in-a-collection-data-validation/td-p/58906.  Hope this helps.



    URL doesn't work... try:

     

    https://powerusers.microsoft.com/t5/General-Discussion/Prevent-duplicate-values-in-a-collection-data-validation/m-p/58906#M24326

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard