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 / Gallery not loading al...
Power Apps
Answered

Gallery not loading all records from SQL table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

My Gallery which gets records from a SQL table is not loading all the records.
There are only 269 records in the SQL table, but the Gallery is loading the first 100.
When I scroll down in the Gallery it starts loading more records but there is a delay.

 

Is there a way to make the Gallery load all 269 when the Power App is launched?

Categories:
  • Verified answer
    timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @Anonymous 

    There is no setting in the gallery control that will make it load all 269 records in one go. As you've discovered, the gallery control loads records in batches. This works better from performance perspective.

    If you don't want this delay, the workaround would be to load all of your records into a collection. For example, on the OnStart property of an app, you would add the formula:

    ClearCollect(myCollection, '[dbo].[myTable]')

    This will load upfront the records in your table to a collection. You would then set the items property of your gallery control to myCollection.

    The disadvantage of this technique is that the delay in loading your records will take place earlier and in the lifecycle of your app, and this could be potentially be quite long depending on the number of records in your table. Also, there will also be another challenge in keeping the data in your local collection in sync with the underlying table.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    I agree completely with @timl 's suggestion.  Another advantage is that your gallery will scroll almost seamlessly when a collection is used as the Items property.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard