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 only showing 5...
Power Apps
Answered

Gallery only showing 500 records.

(0) ShareShare
ReportReport
Posted on by 40

Hi. I am pulling data from a database that has 2000+ records, however only 500 is showing in the app. How can I show the entire list ? I am using filters to filter the list but when nothing is selected from the combo box drop down, only shows 500.

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Sage22 that is due to DELEGATION. You can increase the limit to 2000 in the settings. If you want to pull more than that, you have to pull them in batches of 2k and store them in a collection. 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Sage22,

    Do you want to display more than 2000 records in the Gallery?

    Could you please share a bit more about the scenario, what is your data source, SP list?

     

    Firstly, as @CNT mentioned, you could increase the limit to 2000 in the settings.

    Or you could try to transfer the entire list into the collection and display the collection in the Gallery.

    delegate functions for SharePoint list

    Item Number Text Boolean DateTime Complex [1]
    Filter Yes Yes Yes No [4] Yes
    Sort Yes Yes Yes Yes No
    SortByColumns Yes Yes Yes Yes No
    Lookup Yes Yes Yes No Yes
    = Yes Yes Yes No [4] Yes
    <, <=,<>, >, >= Yes [2] No No No Yes
    StartsWith - Yes - - Yes
    IsBlank - No [3] - - No

    In collection, there's no delegation limit.

    However, when you save data in collection, you also need to use delegate function.

    You need to save data to collection per 2000 records. (ID column is not delegate for "<",">")

    So usually we need another number field with unique value to save data to multiple collections. You could create a collection to add a column to save the id value with text format:

    ClearCollect(Temcol,AddColumns(DataSource,"numberfield",ID))

    For example:

    ClearCollect(collection1,Filter(list,numberfield<=2000));
    ClearCollect(collection2,Filter(list,numberfield>2000,numberfield<=4000));
    ClearCollect(collection3,Filter(list,numberfield>4000,numberfield<=6000));
    ClearCollect(collection4,Filter(list,numberfield>6000,numberfield<=8000));
    .....

     

    Or you could use the Filter() to filter Title column and ID column as below:

    Filter(DataSource,StartsWith(Title,SearchText1.Text),ID=Value(SearchText2.Text)))​

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard