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 / Problem Matching Dates...
Power Automate
Unanswered

Problem Matching Dates in an OData query

(0) ShareShare
ReportReport
Posted on by

My issue is that even though I'm trying to eliminate the items with the date of 05/01/2021 from my SharePoint list (date and time field not showing time), it is still pulling those dates as show in my compose Select.  Any idea? Thanks so much for your help. 

2023-07-21_18-29-24.jpg

Categories:
I have the same question (0)
  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Hello @CindyZ 

     

    You have a condition that returns true if the date is not equal 2021-05-01 OR not equal null. And of course this date is not equal null and so it returns true. So the OR is the problem in your filter.

  • Marcel Lathouwers Profile Picture
    237 on at

    Correct. Replace the OR with AND, then you are fine

  • CindyZ Profile Picture
    on at

    @Mglat  and @Matthy79   Thanks to both of your for your input.  

    That change did not work.  I'm still getting the 2021-05-21. So, I stripped everything else out and then tried "lt" -- that did not return anything.  But, when I try to use EITHER "gt" or "ne", I'm still pulling the 2021-05-21.  Any other thoughts?  

    NE.jpg
    Greaterthan.jpg
    lt.jpg
  • Marcel Lathouwers Profile Picture
    237 on at

    Might it be that you are not comparing dates, but strings?

  • CindyZ Profile Picture
    on at

    @Mglat Could be.  Below is what my SharePoint column looks like and I'm not converting it anywhere.  Can you provide me more guidance?   Thanks! 

    Sharepoint Date format.jpg

  • Marcel Lathouwers Profile Picture
    237 on at

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard