@FLMike
I agree, the warnings can be a good thing to remind you that there's a potential issue with the returned data.
As both @kingy61422 and @Chris-D have said though, you cannot do what you are trying to do with the available function and SharePoint, ie
- Not (!) isn't delegable
- IsBlank() isn't delegable, and
- '<>' isn't delegable for Text columns (it is for Number and Date types tho)
So, you need to make some decisions around how your users will use the data in your app. For example, say this code should return >2000 records
Filter(PA_CAOS_DETAILS,'Master ID'=gblSelected.ID)
... but users only need the latest, say 500-1000 records, you could do this instead
Filter( Sort(PA_CAOS_DETAILS, ID, SortOrder.Descending) ,'Master ID'=gblSelected.ID)
and use that in @Chris-D's code.
If this doesn't work for your use case then you will need to consider other filter options like Dropdowns, Toggles, checkboxes, etc. For example, you could setup a Dropdown for 'Supporting Air Unit' outside the gallery then filter your gallery like so
Filter(
PA_CAOS_DETAILS,
'Master ID'=gblSelected.ID,
'Supporting Air Unit' = ddAirUnit.Selected.Value
)
If you are not keen on these then you could try extending this @RezaDorrani video where he uses a Flexible Height gallery and a Show/Hide technique to 'filter' using non-delegable functions
https://www.youtube.com/watch?v=44j2VRbdWjk
It's all about workarounds with situations like this - unfortunately 🙂