cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
rowlinx
Level: Powered On

Creating multiple filters for gallery as well as a no filter option and a search function

I apologize for asking this since different versions of this question has been asked many times on this forum, but I'm unable to get my solution to work.

 

I have a screen with multiple dropdowns for categories like office location, date, sector etc. 

 

When I select things from these dropdowns and click a button the app navigates to the gallery screen and filters by these categories. 

 

It works when I only have 1 dropdown with this code in the items section of the gallery:

SortByColumns(Filter(DatabaseApp, StartsWith(Office_x0020_Location, OfficeFilter.Selected.Value)), "Proposal_x0020_Number", If(SortDescending1, Descending, Ascending))

 

I have to use the starts with option because that seems to be the only one that works with over 500 entries. 

When I try to add another filter it stops working, also when I select the blank option of "" in the dropdown, it shows no entries in the gallery but I want there to be an option to show all entries from that category.

 

 If possible I'd also like to combine the search input in this filter, I have tried

SortByColumns(Filter( 'DatabaseApp', SearchInput.Text in Project_x0020_Name|| SearchInput.Text in Proposal_x0020_Number), "Proposal_x0020_Number", If(SortDescending1, Descending, Ascending))

^however this line only runs the search on the first 500 entries which is the opposite of what I need

I would be okay with a solution that runs through the latest 500 entries instead, but going through all of them would be most ideal.

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Creating multiple filters for gallery as well as a no filter option and a search function

Hi @rowlinx,

 

First of all, powerapps cannot show all entries from that category when you select " ". 

 

About the 500 Record Limitation, please see if below blogs could help:
https://blog.coeo.com/davidmorrison/2017/06/21/powerapps-500-record-limit-delegation-and-how-to-work...

https://powerusers.microsoft.com/t5/PowerApps-Forum/500-item-limit-in-CDM-entity-search-filter-need-...

 

In addition, consider to vote on this idea Dang submitted:

https://community.powerapps.com/t5/PowerApps-Ideas/Fix-500-Record-Limitation/idi-p/38490

 

Regards,

Mona

  

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Creating multiple filters for gallery as well as a no filter option and a search function

Hi @rowlinx,

 

First of all, powerapps cannot show all entries from that category when you select " ". 

 

About the 500 Record Limitation, please see if below blogs could help:
https://blog.coeo.com/davidmorrison/2017/06/21/powerapps-500-record-limit-delegation-and-how-to-work...

https://powerusers.microsoft.com/t5/PowerApps-Forum/500-item-limit-in-CDM-entity-search-filter-need-...

 

In addition, consider to vote on this idea Dang submitted:

https://community.powerapps.com/t5/PowerApps-Ideas/Fix-500-Record-Limitation/idi-p/38490

 

Regards,

Mona

  

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,301)