cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MikolajP
New Member

Filter by combobox not working

Hi guys!

So I want to prepare app with employee list with searching option and filter by buttons. In gallery when I added only search options It works good (screen 1), but when I added Filter option it stops working (screen 2) and I don't know what I should do with it. I made it with video from yt by Reza Dorrani.

Formul without Filter: Search(przycisk;TextInput1.Text;"Title")

Formul with Filter: Search(Filter(przycisk;spolka = cbSpolkaStatusFilter.Selected.Value);TextInput1.Text;"Title")

 

App works on sharepoint list

1.png

2.png

  @RezaDorrani 

1 ACCEPTED SOLUTION

Accepted Solutions

Consider this:

Search(Filter(przycisk;spolka.Value = cbSpolkaStatusFilter.Selected.Value);TextInput1.Text;"Title")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

5 REPLIES 5
eka24
Super User III
Super User III

@MikolajP 

What code is on your Combobox?

And does Filter(przycisk;spolka = cbSpolkaStatusFilter.Selected.Value) works separately?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Combobox: Items: Choices(przycisk.spolka)

A.D. And does Filter(przycisk;spolka = cbSpolkaStatusFilter.Selected.Value) works separately?    NOPE  😢

Consider this:

Search(Filter(przycisk;spolka.Value = cbSpolkaStatusFilter.Selected.Value);TextInput1.Text;"Title")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Love you man! And @RezaDorrani too ❤️ 

Thanks for help!

I cherish @RezaDorrani as well 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (59,830)