cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mallow
Frequent Visitor

Multiple search field on app

Hello,

 

I have multiple search field so customer can search each column separately.

The problem is I can do one serach ( Search('Table', ProducentSearch.Text, "Producent) ).

How to do in each texfield I can search separately?

I have Gallery Item

 

mallow_0-1613653122080.png

 

3 REPLIES 3
Drrickryp
Super User
Super User

Hi @mallow 

You could try something like this if all of your column types are text types

 

Search('Table', IsBlank(ProducentSearch.Text)|| "ProducentSearch.Text",
                IsBlank(NazwaSearch.Text)|| "NazwaSearch.Text",
                IsBlank(ParagrfSearch.Text)||"ParagrafSearch.Text",
etc...
)

 

 

mallow
Frequent Visitor

hmm... It does not work I have error on table: Invalid argument type(Boolean). Expecting a Text value instead

HimanshuSSharma
Resolver I
Resolver I

@mallow Two ways in which I have used Search so far:

Search( Table, SearchString, Column1, Column2.....)

Search( Search( Table, SearchString1, Column1), SearchString2, Column2)

Both have different functions and different pros/cons. I think you are looking for the second fucntionality.

 

Please accept the solution if it resolves your query!!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,470)