I have loaded some records based on a search name into a collection and let this be the items of a gallery.
ClearCollect(ZoekDieren;SortByColumns(Filter('[dbo].[dier]_1';naam = eZoekTekst.Text);"identificatie_nummer_asiel";Descending))This goes fine.
Now I want to filter this collection further by looking up a date in another tasble and only show when this dat is empty:
ClearCollect(ZoekDieren;Filter(ZoekDieren;Day(LookUp('[dbo].[asiel_verblijf]';dier_id=dier_id;vertrek_datum))=0))The name dier_id is the same for the table from the first code (and thus the collection) and fot the target table '[dbo].[asiel_verblijf]', that is way dier_id=dier_id.
Should I disambiguate this and how?
Setting the filter to isblank(vertrek_datum) of vertrek_datum=0 doesn't help at all.
If I say vertrek_datum>0 I get all records so there is not some deep fundamental flaw to the approach I would say.
Working with values being blank and especially dates is a real pita in powerapps imho. Costs a lot of time.