Announcements
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..
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.
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.
@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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135