cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Search and filter function not working

Hi Guys,

 

I guess i have a simple question but i cann`t fix it and i tried everything to do it.

 

As you can see i have a gallery and i want to search in the search box on Birthname and i want to filter this gallery on EmployerID  = "Jan". 

 

Could you please tell me what i am doing wrong?!

Untitled.png

Thank you!

3 REPLIES 3
Super User III
Super User III

Hi @Anonymous 

To fix this, you would need to nest these two functions rather than to use the & operator. The formula would look like this:

 

SortByColumns(Search(Filter('[ISL].[Employee]_1', EmployeeId="Jan"),
                     TextSearchBox1_1.Text,
                     "BirthName"),
              "BirthName",
              "Ascending"
)                  
Anonymous
Not applicable

Hi @timl ,

 

Thank you great! It works 😉

You're welcome @Anonymous , glad it works for you.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (886)