web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Whats the correct ODAT...
Power Automate
Answered

Whats the correct ODATA for my Contains filter?

(0) ShareShare
ReportReport
Posted on by 122

Hi,

I am having some trouble trying to get some rows from a list of sharepoint, currently im trying this filter in order to get all records that match the date:

 

contains(Fecha,'/01/') 

 

 I get this message 

JuanArango_0-1706727095776.png

I also tried with substringof as ODATA v2 but same error pops up. Im using a get items action. These are my list's headers:

JuanArango_1-1706727177391.png

 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Are you trying to filter by specific Month?

     

  • JuanArango Profile Picture
    122 on at

    hi @SudeepGhatakNZ, yes i am

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    I think contains wouldn't work because the data is stored in UTC format which wont match your '/01/' format.

    Instead try this approach.

    Solved: Filter Query to show last month - Power Platform Community (microsoft.com) 

     

     

  • royg Profile Picture
    on at

    As @SudeepGhatakNZ mentioned, If the field is of type Date, the way to filter for a specific month would be:

    Fecha ge '2023-01-01' and Fecha le '2023-01-31'

    If you store the dates in a text field in a "dd/MM/yyyy" format and not a date field, your OData filter would be:

    substringof('/01/', Fecha)

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard