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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery only showing 5...
Power Apps
Unanswered

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:
I have the same question (0)
  • 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard