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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / hi, Search two tables ...
Power Apps
Unanswered

hi, Search two tables with one textinput box

(0) ShareShare
ReportReport
Posted on by 26

Hi, 

 

I have a gallery that displays information from one table, PurchaseOrder Table, with labels inside each gallery item to look up information about the vendor on a VendorInformationTable.  The two tables are linked with a VendorID field. 

 

How can I seach/filter both tables for values in a TextInput box?  

ei:  Allow the user to enter the company name, the invoice value or the PO# to return hits in the gallery. 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @ColinM 

     

    Instead of adding the lookup function on individual labels, you can also create a column using AddColumns function and then use it.

     

    Expression: Search(AddColumns(PurchaseOrder, "VendorTableCustColumn",LookUp(VendorInformationTable, VendorID = ID).ColumntoFetch), TextInput1.Text, "Column1","Column2", "VandorTableCustColumn")

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard