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 Automate / Filter Query - Compari...
Power Automate
Unanswered

Filter Query - Comparing two date-time columns

(0) ShareShare
ReportReport
Posted on by 7

Hello

 

I am building a workflow using get items action and there I specify the filter query as follows:

 

ColumnA ne ColumnB (both are date-time) 

 

As a result I get:

Fetching items failed. Possible invalid string in filter query. 

 

Could you tell me what time doing wrong? 

 

Thank you

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @Wicia ,

     

    I recommend you use Filter array to achieve your needs.

    vmengmlimsft_0-1711024016818.png

     

     

     

    Best regards,

    Rimmon

  • Wicia Profile Picture
    7 on at

    Thanks 🙂 It's working. I am still wondering power automate doesn't have mechanism for comparing dates in get items query filter or I haven't discovered how to do it... 

  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @Wicia ,

     

    As far as I know, the filter query supports column-to-character comparisons, but not column-to-column comparisons.

    Here is a link about filter query syntax. How to Use Power Automate Filter Query [Guide With Examples] - Citizen Development Academy

     

    ————————————————————————————————————————

    If my answer helps you solve the problem, please accept it as a solution.

     

    Best regards,

    Rimmon

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard