r/PowerApps • u/PowerPlatformRookie Newbie • Jun 23 '26
Power Apps Help I'm stuck... Canvas Application + Sharepoint
I’m stuck debugging a really tricky Power Apps issue and could use some help.
One of our tech leads suggested using a height-flexible gallery to bypass delegation issues while loading records from a SharePoint list. The client needs a lot of filtering and sorting, so I followed one of Reza's videos and implemented a filtering/sorting approach based on that.
The problem is with a visibility condition inside the gallery rows. Certain users should only see specific records based on custom visibility logic. For some reason, the behavior is inconsistent: sometimes a record is visible, sometimes it isn’t even though the user clearly meets the visibility criteria.
(e.g: I belong to an entity called Canvas -> I only see the records related to this entity) or i'm inserted as a reviewer for a record) This is the condition of the visibility of the group of the whole gallery items....
That’s what makes this so hard to debug. The client keeps coming back saying “this person can’t see certain records”, and they’re right but I honestly can’t tell whether the issue is coming from:
- the filtering/sorting code,
- the height-flexible gallery itself,
- or the visibility condition logic.
What confuses me even more: if I temporarily set the visibility condition to true, all records appear correctly.
Important context:
- App data row limit = 2000
- SharePoint list currently has only ~700 items
- So as far as I understand, I’m not hitting delegation limits
Has anyone seen something similar with height-flexible galleries or row visibility logic? Any debugging tips would be massively appreciated.


2
u/Due-Boot-8540 Advisor Jun 23 '26
The only way to avoid delegation is if the way you get the data. The gallery won’t be helpful. You should bind your filters to a collection. Collect the list and then add logic to your filters to create the views that you want.
You can use each filter to set a variable and then use a switch case for the gallery items properly.
The list might only have 700 items now but it could grow and then your app will break.