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 Gallery with pe...
Power Apps
Answered

Search Gallery with personal number

(0) ShareShare
ReportReport
Posted on by 63

I have problems getting the number information for each person to be shown with the gallery's Search function.

I created an example of 5 personal data. I dont have problems if i search the name. I need to find the personal data by number, but dont show me anything. The information comes from an excel table. 

Search(Contratistanew;TextSearchBox1.Text;"Cedula")
Please let me know how to solve this.
Captura PA2.JPG
Captura PA.JPG
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @MazingerZ_68 ,

    What is the name of your number field and it is stored as a number format or text ?

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @MazingerZ_68 

     

    Have you tried wrapping the TextSearchBox.Text inside of the value function?:

    Value(TextSearchBox.Text)

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • MazingerZ_68 Profile Picture
    63 on at

    The name is Cedula. Its store as General.

    Captura PA3.JPG
  • MazingerZ_68 Profile Picture
    63 on at

    Hi, I tried, but doesnt work. When i simulated the search, can´t find any number.

    Dont show me any error , but dont work.

  • Verified answer
    WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @MazingerZ_68 ,

    You cannot Search on number columns - try

    Search(
     AddColumns(
     Contratistanew;
     "CedulaTxt";
     Text(Cedula)
     );
     TextSearchBox1.Text;
     "CedulaTxt"
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • MazingerZ_68 Profile Picture
    63 on at

    Super, it solve..but when i made this change something happens with the visualization of the form.

    CapturaPA4.JPG
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @MazingerZ_68 ,

    You need to specify the record you need - put in whatever field is the unique identifier of your record. In the Form Item

    LookUp(
     TableName,
     YourIdentifier = BrowseGallery1.Selected.YourIdentifier
    )

    or if you want instead to leave the Form alone (this is a bit messy) - in the Gallery Items

    DropColumns(
     Search(
     AddColumns(
     Contratistanew;
     "CedulaTxt";
     Text(Cedula)
     );
     TextSearchBox1.Text;
     "CedulaTxt"
     ),
     "CedulaTxt"
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard