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 / Check if value in coll...
Power Apps
Answered

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,774 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 482 Most Valuable Professional

#2
11manish Profile Picture

11manish 459

#3
Haque Profile Picture

Haque 331

Last 30 days Overall leaderboard