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 Apps
Answered

Lookup Record

(0) ShareShare
ReportReport
Posted on by 209

Hello, I am trying to get a lookup statement to work in my power app however this is proving to be more difficult than I thought. 

 

I have a sharepoint list named 'DriverDetails' which contains a list of our drivers details.  I have a text input field in my power app named 'Badge', After the user has entered the badge number into the text input box I need a label to lookup all of the records in my sharepoint list (DriversDetails) and if the 'Badge' value is in the 'BadgeNo' column I need the label to show "Existing" otherwise I need it to stay blank.


I think I may be over thinking this......

 

Any help would be much appreciated

Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Station1901 

    Put this code in the Text property of your label

    If(!IsBlank(LookUp(DriverDetails, BadgeNo=Badge.Text)), "Existing", Blank())

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Station1901 Profile Picture
    209 on at

    Works perfectly - thankyou

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard