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 display an erro...
Power Apps
Answered

How to display an error in Gallery?

(0) ShareShare
ReportReport
Posted on by 75

I have an SQL DB. I have a Canvas App with a Gallery that is bound to a table of the DB. Among others, there is a Text input in the Gallery that is bound to a column of the DB table.

I want to add the following improvement into my App: do not allow end-user to duplicate a value in this Text input. In other way, if end-user tries to enter a value that already exists in some other row of the gallery in this field, an error message about that should be displayed.

How could I implement this?

Categories:
I have the same question (0)
  • Verified answer
    abc3 Profile Picture
    207 on at

    If(CountRow(Filter(table,field = textinput1.text) = 0 ,true,false)

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard