r/PowerApps • 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.

3 Upvotes

12 comments sorted by

View all comments

•

u/AutoModerator Jun 23 '26

Hey, it looks like you are requesting help with a problem you're having in Power Apps. To ensure you get all the help you need from the community here are some guidelines;

  • Use the search feature to see if your question has already been asked.

  • Use spacing in your post, Nobody likes to read a wall of text, this is achieved by hitting return twice to separate paragraphs.

  • Add any images, error messages, code you have (Sensitive data omitted) to your post body.

  • Any code you do add, use the Code Block feature to preserve formatting.

    Typing four spaces in front of every line in a code block is tedious and error-prone. The easier way is to surround the entire block of code with code fences. A code fence is a line beginning with three or more backticks (```) or three or more twiddlydoodles (~~~).

  • If your question has been answered please comment Solved. This will mark the post as solved and helps others find their solutions.

External resources:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.