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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Lookup Record

(0) ShareShare
ReportReport
Posted on by 206

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:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,987 Moderator on at
    Re: Lookup Record

    @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
    206 on at
    Re: Lookup Record

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard