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 / Collection to only gra...
Power Apps
Answered

Collection to only grab time period from sharepoint

(0) ShareShare
ReportReport
Posted on by 30

Due to delegation, the SharePoint list I’m grabbing for my collection is incomplete and I only want my collection to grab the last 90 days where the info will be filtered down by user. 

currently the collection is grabbing everything it can but runs afoul of delegation. Is there a way I can do this?  To filter a ClearCollect to only create a collection based on a time period. 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,315 Most Valuable Professional on at

    Hi @Castner ,

    Date queries are not delegable, but assuming what you are looking for is in the newest 2000 records (and you have your limit set to this in Advanced settings), then try this

    ClearCollect(
     colYourCollection,
     Sort(
     YourSPListName,
     ID,
     Descending
     )
    )

    Your date filters will then work on the collection.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard