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 / Can't search in lookup...
Power Apps
Suggested Answer

Can't search in lookup sharepoint list column

(1) ShareShare
ReportReport
Posted on by 65
Hello, I´m trying to make a multi columm search with this sentence:
 
Search([@base]; TextSearchBox1.Text; Descrição; 'Tombo A'; Anotações; 'Tombo B'; 'Tombo C'; 'Tombo D')
 
All these options are text or number columns and the sentence works fine.
 
However, when I add a lookup columm to the sentence, it´s name underlines red and the sentence stops to work.
 
How can I search all columns? texts, numbers and lookups at once?
 
Thank you in advance.
Categories:
I have the same question (0)
  • Suggested answer
    ANB Profile Picture
    7,223 Super User 2025 Season 2 on at
    Hi @BrosJr.
     
    Using AddColumns() create a virtual column where the lookup is reduced to text. Then use the virtual column to perform the search. Example:
     
    Search(AddColumns(DataSource;TEST;LookupColumn.Value);TextSearchBox1.Text;Descrição; 'Tombo A'; Anotações; 'Tombo B'; 'Tombo C'; 'Tombo D';TEST)
     NOTE: TEST is the virtual column.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ 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 Thumbs up. 👍

    Thanks,
    ANB

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard