Hi, ive been looking at this for some time now and I feel I dont understand whats going on here
Maybe someone can provide some more information?
Scenario, I have two sharepointlists
One is a list with adresses, one is a list a list with questions that are related to the adresslist via a lookup
So it builds a list of questions per adress by adding the adress from the lookup
Now I'm aware of the 2000 items limit, for now I get by it by adding a column called Sort, with for the first 2000 items i add 1 and for the next items I add 2
Then I collect these by filtering one collection on 1 and one collection on 2 and then pull those together in a third collection that I use to display the data in powerapps. This all works fine, I would however be able to get past the loadtime of collecting all items and then filtering them.
Now comes my issue, if I for instance setup a gallery to filter the Questionslist based on the selected adress name
This will work:
Filter(Questions, Adress.Value = varSelectedAdress.Adress)
If I however want to change the filter and base it on the lookup ID this for some reason this wont work (it returns 0 items)
Filter(Questions, Adress.Id = varSelectedAdress.ID)
I also tried adding the Value function like this, this wont work either
Filter(Questions, Adress.Id = Value(varSelectedAdress.ID))
I really dont want to filter based on the Adress.Value cause at some point duplicate names might happen in the list.
Why does the filter work when I base it on text and not the ID provided by the Sharepointlist?
The ID is there, if I set a textlabel to varSelectedAdress.ID it displays the correct ID
The Powerapp is set to handle 2000 items in settings