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 / Filter More than 2000 ...
Power Apps
Answered

Filter More than 2000 Image Files

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to filter an SP document library. Even will all the below, the filter is only returning the first 2000 files. Can any provide assistance? For most members I can see everything through year 2019/20. However, many do not show 2020 document that I know are in the library. The only change I made to my original configuration was to add the Warren Belz's formula in the screen OnVisible and changed the collection name to the formula collection.

 

Screen 1: OnVisible -  

ClearCollect(
       CQImageColA,
       Sort(
             'UploadedCerts&Quals',
             ID
       )
);

ClearCollect(
       CQImageColB,
       Sort(
             'UploadedCerts&Quals',
             ID,
             Descending
)
);

ClearCollect(
       CQImageCollection,
       CQImageColA,
       Filter(
            CQImageColB,
            !(ID)
       )
);

Clear(CQImageColA);
Clear(CQImageColB)

 

Gallery 1: Items -
Filter(ForAll(Distinct(MemberCertificationandQualificationCollection,CQTitle),LookUp(Sort(Filter(MemberCertsandQualsList,(DteofCQ>=DatePicker1.SelectedDate)&&(DteofCQ<=DatePicker2.SelectedDate)&&FullNm=ECMemberSearchDD.Selected.FullNm),DteofCQ,Descending),CQTitle=Result)),!IsBlank(CQTitle))

Image Control (In Gallery 1): Image -

First(Filter(CQImageCollection,Name=ThisItem.CQYr&" "&ThisItem.Title&" "&ThisItem.CQTitle&" "&ThisItem.FrstNm&" "&ThisItem.LstNm&" "&ThisItem.AcrdtnAgncy)).'{Link}' & First(Filter(CQImageCollection,Name=ThisItem.CQYr&" "&ThisItem.Title&" "&ThisItem.CQTitle&" "&ThisItem.FrstNm&" "&ThisItem.LstNm)).'{Link}'

Categories:
  • JayMagness Profile Picture
    1,663 on at

    Hi you are on the correct path.

     

    I actually have a process I have tested on as many as 91,000 Records form SharePoint and it works great.

     

    While many notes out here say to do a clear collect on the ID and nest them all, I have found many issues with tis process.

     

    SharePoint:

    I setup a field in SharePoint called "ripcord" I put an "A" in the first 1998 Records, then a "B" in the next 1998, and a "C" in the next 1998, etc... (you can go to around 51,000 with this process A-Z, then start with A1, B1, C1 and so on ....

     

    Now in the AppLoad do a clear collect in Con current and filter all on the "ripcord" field

     

    Once this is done you have that data in separate datasets in memory, then you just add them all together in one dataset

     

    Then filter on the dataset in memory. update to the SharePoint data as needed

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    How do you post-populate data into a 'new' column (titled whatever) for the first 1999, then the next 1999, and so on?

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Problem solved.

     

    I missed the following in the formula.

     

    ClearCollect(
           CQImageCollection,
           CQImageColA,
           Filter(
                CQImageColB,
                !(ID in CQImageColA.ID)
           )
    );

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 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard