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 / Get Items Filter Odata...
Power Automate
Answered

Get Items Filter Odata from SharePoint list created column

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear all,

 

I'm still new in Power Automate. Need your advise on this.

 

I wanted to use filter query in Get Items action. I want to filter the "Created" column from SharePoint list and only show records that are created in current month and year only. For example current month is February 2021, so it will only shows records that have been created in February 2021 only.

 

1.png

Thank you and your help is much appreciated.

 

Categories:
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Morning @Anonymous 

     

    You need to use the filter query where the created date is greater than or equal to the 1st of the current month.

     

    concat(formatdatetime(utcNow(),'yyyy-MM'),'-01')

     

    DamoBird365_0-1614326601908.png

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @DamoBird365 ,

    It's working fine. Thank you for your help!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @DamoBird365 

    If I want to modify the code by current week filter then how? Can assist me on this?

    Thank you.

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Anonymous 

     

    You would be able to calculate a date 7 days prior using a subtract from time action and then compose to format the date time.

     

    You can then try using the expression below

     

    created gt '7DaysEarlierComposeBelow'

     

    DamoBird365_0-1616394517885.png

     

    If you want to be even more specific, you can use an AND expression

     

    created gt '7DaysEarlierComposeBelow' and created lt 'anotherdatethatyouvecalculated'

     

    If this post helps, don't forget to mark it with Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

     

  • Ramon3 Profile Picture
    22 on at

    hello everyone can someone help me with the following situation, I have a sharepoint list, with my activities, where I have the due date and would like to receive an email every Monday with the activities planned for that week, I tried use the Odata filter but it didn't work.

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Ramon3 

     

    Please post a new query and someone from the community will help you

     

    Damien

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
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard