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 / Search Lookup Column
Power Apps
Answered

Search Lookup Column

(0) ShareShare
ReportReport
Posted on by 7

Hi to All,

I have a 2 different tables, 1 is "Projects" and the other one is "Client Details".

In the Projects table, i have added a lookup column for (Clients Details)Clients("cra1b_client").

In the app, i added a search box of a gallery with "Projects" data, the problem now, there's an error in gallery if i will include the search box and use the code below:

Search(Filter(Projects, 'Status (cra1b_status)' <> "New"),TextBox3.Value, "cra1b_client")

 

but if i will use this code, it will work fine:

Search(Filter(Projects, 'Status (cra1b_status)' <> "New"),TextBox3.Value, "cra1b_name")
the problem here, is "cra1b_name" is the automated unique number i also added in the column.

So i assume that i can only call the columns originally on the same table. Is there any work around to search the client instead?

Categories:
  • Verified answer
    v-hanytian-msft Profile Picture
    Microsoft Employee on at

    Hi @akobarek ,

     

    May I ask what data source you have used?

    According to the formula you offered, we deduce it is the Dataverse.

     

    We made a sample for you.

    Dataverse:

    vhanytianmsft_0-1692323766441.png

     

    vhanytianmsft_1-1692323766442.png

     

     

    Canvas App:

    Gallery Item:

    Search(AddColumns(Filter(Projects,  'Status (cra1b_status)' <> "New"),"ClientName",Clients.Name), TextBox3.Value, "ClientName")

    vhanytianmsft_2-1692323766444.png

     

     

    Hope this will help you,

     

    Best Regards,

    Tina

  • akobarek Profile Picture
    7 on at

    Thank you Tina!!! 

    That was quick!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard