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 naming co...
Power Automate
Answered

Filter query naming convention

(0) ShareShare
ReportReport
Posted on by 184

Hello!

I have a flow that gets items from a sharepoint list. I need help on how to write this Filter query: Test Result equals Perfect and Created date is yesterday

So my sharepoint list has columns Test Result and Created date.

I tried this filter query but is throwing an error:

Test Result eq 'Perfect' and Created eq 'expression'

expression is: addDays(utcNow(),-1,'yyyy-MM-dd')

Thanks in advance for the help! 🙂

Categories:
  • notj Profile Picture
    782 on at

    What's the error?

  • Verified answer
    ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @CatPagulayan 

    As @notj  said, the actual error would be helpful. However, if you entered "Test Result" in your filter query, that would generate an error.  You need to refer to SharePoint columns by their internal names rather than their display names and internal names never have spaces.  Also, the query filter is case sensitive.  It is likely (but not definite) that the internal name is TestResult as internal names have no spaces.

    One way to view a columns internal name is to go to the list settings and click on the column.  The internal name will be in the URL after "Field="

    image.png

     

  • CatPagulayan Profile Picture
    184 on at

    Oh my.. this is just the solution after all!! thank you @ScottShearer !! my flow is okay now 🙂 🙂 🙂

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard