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

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
    Microsoft Employee 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
    Microsoft Employee 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

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 Automate

#1
Vish WR Profile Picture

Vish WR 1,005

#2
Valantis Profile Picture

Valantis 825

#3
Haque Profile Picture

Haque 619

Last 30 days Overall leaderboard