Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

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. 

 

 

 

  • Verified answer
    yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: hi, Search two tables with one textinput box

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,552 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard