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 / Delegation in Filter f...
Power Apps
Answered

Delegation in Filter function not working

(0) ShareShare
ReportReport
Posted on by 125

Hi All

I have a SharePoint list with about 2500 items, which I need to get into my PowerApp. 

So I made 2 collections :

ClearCollect(CDDIs1,Filter(SPList,ID < 1900) );
ClearCollect(CDDIs2,Filter(SPList,ID > 1899) );
ClearCollect(C_DDIs, CDDIs1,CDDIs2)

But it still shows Total of 2000 items in C_DDIs. 

Unless I got it wrong, those 2 Filter functions should get all the items from the SP List?

Thanks

Categories:
I have the same question (0)
  • PTBBSolutions Profile Picture
    691 on at

    Hi @romankorchak2 ,

     

    The SP ID column is delegable only with = operator.

     

    Please check this thread - I think it will show you a nice workaround.

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @romankorchak2 It will not work with the default SP List ID Column. But if you create your own ID column of type Number, your formula will work as seen in my example below.

    CNT_0-1637058766218.png

     

     

  • romankorchak2 Profile Picture
    125 on at

    Thanks for your replies.

    But what if I already have list with 5000 items, I dont think I can just add column with autoincrement IDs, and I cannot create a calculated column that would use value from current ID column?

    Thanks 

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

    @romankorchak2 You can use the existing ID column to create a new ID column,

    UpdateIf(yourSPList, true, {newIDColumn:ID})
  • romankorchak2 Profile Picture
    125 on at

    That will do for existing items, but what about all items?

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard