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 / How to correct below f...
Power Automate
Unanswered

How to correct below formula

(0) ShareShare
ReportReport
Posted on by

Hi,

There is error with Filter Query, can you help how to correct this formula? 

The output of the variable is "addDays(utcNow(),-30,'YYYY-MM-DD')"

 

YanLiang_0-1670166700802.png

 

Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Use gt instead of in your oData query.

     

  • CU22080239-4 Profile Picture
    on at

    Hi Sudeep,

    Tried but still error.

    YanLiang_0-1670206999332.png

     

    YanLiang_1-1670207035427.png

     

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @YanLiang 

     

    1. The filter query of List rows present in a table does not support column names with spaces.
    Please change Start Date to StartDate.
    2.AND is in lowercase (and)
    3. Use single quotes around variables.

     

    Best Regards,

    Levi

  • CU22080239-4 Profile Picture
    on at

    Hello Levi,

    Thanks, but still error.

    YanLiang_1-1670208286327.png

     

    YanLiang_0-1670208248843.png

     

  • IDonknowwhay Profile Picture
    27 on at
  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @YanLiang 

     

    I'm sorry this was an oversight on my part.
    The filter query of List rows present in a table does not support some filtering methods such as greater than and so on (by design).
    I suggest you use the Filter array action.

     

    Best Regards,

    Levi

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
  • Liquid error: Exception has been thrown by the target of an invocation.
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @YanLiang ,

     

    Date format in your variable expression is incorrect. Try 

    addDays(utcNow(),-30,'yyyy-MM-dd')
     
    SudeepGhatakNZ_0-1670209043474.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

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 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard