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 Automate / Issue with sharepoint ...
Power Automate
Answered

Issue with sharepoint Get Items filter

(0) ShareShare
ReportReport
Posted on by 210

I have a flow that look at the Date of Referral field and pulls any item that has a date greater than or equal to 8/1/2023. This has been working for 5 years and recently I had to remake this flow because I needed the new run as user feature. When I run this flow some reason it is not pulling the items correctly any more. I attached screenshot with what the date is coming up as. The Date of referral field is date and time data type. When i run the flow some reason only items with the date of 8/1/2023-8/14/2023 are coming up.

 

DateOfReferral ge '{Add(int(formatDateTime(utcNow(),'yyyy')),-1)}-08-01T00:00:00.0000000Z'

date.png
Categories:
  • jitheshk Profile Picture
    100 on at

    Hi Alex

    To test your flow add your expression in a Compose action and test if you are getting the desired result.

    You can also check if the below expression can help...

    DateOfReferral ge Concat(Add(int(formatDateTime(utcNow(),'yyyy')),-1),'-08-01T00:00:00.0000000Z')
  • Verified answer
    alex5p Profile Picture
    210 on at

    @jitheshk Thanks for your response. I did try out what you said and was getting the same result. 

     

    I finally figured out the problem. The sharepoint list I am searching for has over 3k entries and I forgot the action only looks at about 20ish items so it doesn't overload the server. I turned on a setting called Pagination that is on the get items action and added the threshold to 5000. That now lets the get items action search through the entire sharepoint list.

     

    2024-05-22 14_21_50-Manage your flows _ Power Automate.png

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 Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard