cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
milky_bar_may
Helper IV
Helper IV

Another 2,000 item Sharepoint List question (sorry!)

Hi everyone,

 

If I filter the Sharepoint list itself to include items only after a certain period will the Gallery be able to pick up on the 2,001st item? 

 

So my list has 4,756 items. 

 

If I filter the sharepoint list to exclude items that were created more than 2 weeks ago, I will have 245 visible items on the list.

 

Will this work? 

 

Thanks

 

Ed

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User III
Super User III

@milky_bar_may 
This code will work but you'll get a delegation warning.  The warning can be safely ignored if the # of records in the past 2 weeks is less than 2,000.

 

Filter(Sort(your_datasource_name, 'Created', Descending), Created >= Today()- 14)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
mdevaney
Super User III
Super User III

@milky_bar_may 
This code will work but you'll get a delegation warning.  The warning can be safely ignored if the # of records in the past 2 weeks is less than 2,000.

 

Filter(Sort(your_datasource_name, 'Created', Descending), Created >= Today()- 14)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

@mdevaney my hero, thank you!

 

I have 2 questions please: 

1. If I apply this filter first, can I nest other non-delegable functions, such as Not, Text and In, within the filter? 

 

2. How does this line of code overcome the 2,000 items limitation? If I apply the line of code to a sharepoint list of 3,500 items, with 2,000 items being created in the last two weeks, does the gallery bring back the remaining 1,500 items that were created today? 

 

Thanks again! 

 

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,309)