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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Check if value in coll...
Power Apps
Unanswered

Check if value in collection colum exists

(0) ShareShare
ReportReport
Posted on by 23

Hi all,

 

How I can verify when a button is pressed if the Collection (specific column) already contains a value?

Basically I have a textbox that allow users to add email address, and I want to make sure that the users do not add repeated values.

 

I want to notify(information) users if the value already exist on the table

My code:

 

 

If(Filter('collection',[@email].Text=true),Notify("Already Exists",NotificationType.Information))

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @Rubenfrreis 

    Something along the lines of this should work for you.

    If(CountRows(Filter('collection',[@email] = txtEmailTextbox.Text))>0,
     Notify("Already Exists",NotificationType.Information)
    )

     

     

  • Rubenfrreis Profile Picture
    23 on at

    Thank you, it works!!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard