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 / Lookup and Search func...
Power Apps
Unanswered

Lookup and Search function not working

(1) ShareShare
ReportReport
Posted on by 2
I am making an application to book desks for the office, I have Table1 with the list of desks, and Table 2 with the reservation of desks (user, desk, date). I want people to choose the date, desk and insert their email to make their reservation and show if the desk is available or not for the selected date and user. I put this code on the label destined to show if the desk is available or not but it does not work and I cannot solve the problem, can you help me? Thanks
 
If(
    IsBlank(
        LookUp(Tableau2; Text(Desk = SelectDesk.Selected.Desk)&& Date = DatePicker1.SelectedDate)
    );
    "Available";
    "Not Available"
)
 
  • WarrenBelz Profile Picture
    156,576 Most Valuable Professional on at
    You do not need Text() in there for a start
    If(
       IsBlank(
          LookUp(
             Tableau2; 
             Desk = SelectDesk.Selected.Desk && 
             Date = DatePicker1.SelectedDate
      ) ); "Available"; "Not Available" )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard