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

Filter statement missing records in gallery

Hi community,

 

I'm struggling to see what is causing some records to be filtered out of a gallery based on this filter:

I have a compound IF statement depending on if the user is searching on each combobox selected item, if I remove the OBNumbersearch from the statement I will see all the items but as soon as I put it back into the statement it drops some rows and I can't tell what type of data it is removing either.. so if the OBNumberSearch.Text is blank and nothing is selected I get 424 items, but the total is 487. 

 

SortByColumns(Filter('Tracking List',(OBNumberSearch.Text in 'OB NUMBER'),If(FromTerm,ComboBox_From.Selected.Title in FROM,true) && If(ToTerm,ComboBox_To.Selected.Title in TO,true) && If(SegTerm,ComboBox_Segment.Selected.Title in SEGMENT,true) && If(StatusTerm,Dropdown_Status.Selected.Value in 'Freight Status',true)),"Date_x0020_of_x0020_Request_x002",Descending)

 

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew260z1
Level: Powered On

Re: Filter statement missing records in gallery

I have found the issue, any OBNumber that is blank is being filtered out. 

 

In this scenario all items will have OBNumbers so that is going to be rectified when the application launches

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: Filter statement missing records in gallery

Hey @Andrew260z1 

 

Are you getting any warning for delegation? What is the data source that is been used in this case?
 
Can you try to update a setting:
App Settings -> Advanced Settings -> Data Row for Non-Delegable queries -> 2000. 
This is set to 500 by default.
 
Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Highlighted
Andrew260z1
Level: Powered On

Re: Filter statement missing records in gallery

unfortuantlely its not that reason, I've already set the row limit to 2000 and the item count is correct if I remove the OBNumberText search. I think it might be finding a blank OBNumber or something?

Andrew260z1
Level: Powered On

Re: Filter statement missing records in gallery

I have found the issue, any OBNumber that is blank is being filtered out. 

 

In this scenario all items will have OBNumbers so that is going to be rectified when the application launches

View solution in original post

Helpful resources

Announcements
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.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

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,051)