cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Fnavarro
Helper I
Helper I

Add search field to my search button

Hey!

I'm actually using this querry to use my Search button, as you can see, right now is only looking for column "descripción", I want to search in 2 columns, but this DON'T work.

 

Please can u help me?

 

wrong: SortByColumns(Search(Filter([@Helpdesk_BD],Mail = User().Email),tbBuscar_1.Text,"Descripcion","ID"), "Created", Descending)

 

SortByColumns(Search(Filter([@Helpdesk_BD],Mail = User().Email),tbBuscar_1.Text,"Descripcion"), "Created", Descending)

2 REPLIES 2
Drrickryp
Super User
Super User

@Fnavarro 

Search only works on Text type fields:

SortByColumns(
         Filter(
              [@Helpdesk_BD], Mail = User().Email) && 
                              tbBuscar_1.Text in Descripcion||ID = tbBuscar_1.Text), "Created", Descending
)

Thanks for your response but Is not working.

I'm actually using

SortByColumns(Search(Filter([@Helpdesk_BD],Mail = User().Email),tbBuscar_1.Text,"Descripcion"), "Created", Descending)

and is working fine, but only for 1 columns, I have to add another column to the "search"

 

Fnavarro_0-1669654552024.png

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,709)