web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / help with gallery perf...
Power Apps
Unanswered

help with gallery performance

(0) ShareShare
ReportReport
Posted on by 327

Hi all

 

I have one data source which will roughly contain less than 2k data which then archives itself monthly. However, when I added 137 records it dramatically reduced gallery performance especially when scrolling. it has 349 controls on that page, no look-up function.

 

what would be the best approach to make gallery performance efficient?

  •  Clearcollect for the main data source
  • gallery pagination
  • Insert gallery in a vertical container and make height 2000 (not sure how that works)

any ideas will be much appreciated thank you

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    @moerah ,

    Gallery content can be presented (in the background) in two ways.
    Firstly a Delegable filter will return the records in batches of 100 (for performance reasons) with the subsequent batches queried as the user exposes the first record in the next set. This can accommodate any number of records as the user continues to scroll. The performance of this would be affected by mainly the quality of the internet connection, but also the complexity of the query.

    For a non-Delegable query (I am assuming you have your Data Row Limit set to 2,000), the gallery will retrieve up to (the first) 2,000 records initially and then perform the query locally, with all scrolling then performed on a local data set that has been fully retrieved (so no batches to scroll through).

    You can also (as you have mentioned) make a collection (limited to 2,000 records) and use that in the Gallery.

    So the first question is regarding the Items of the Gallery and whether the query is Delegable.

    The other issue you need to be aware of is that a Gallery linked directly to the data source (as distinct from a Collection) will automatically refresh if a record is changed, whereas a Collection will not.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • moerah Profile Picture
    327 on at

    Thank you @WarrenBelz for the reply

     

    back to the drawing board for me currently I have direct linked to the data source but I will give Clear Collect a dry run and see if it makes any difference

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard