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 / 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

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard