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
Unanswered

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:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,989 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
    209 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard