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

Community site session details

Session Id : WjnXqUhYExHPviMe1X00T/
Power Automate - General Discussion
Answered

Filter Condition in HTTP Request to SharePoint not working

Like (0) ShareShare
ReportReport
Posted on 13 Jan 2023 21:08:18 by 31

I have a Send HTTP request Action in my flow. Action is working fine only last filer condition is not working (EventDate gt '@{formatDateTime(utcNow(), 'MM/dd/yyyy')}'). I am able to select properties and filter fRecurrence eq '0' but event date filter is not working.

 

I tried follwing in Uri

_api/lists/getbytitle('@{items('For_each_Calendar_List')}')/items?$select=EndDate,EventDate,Days,Title,fRecurrence,Author/Title,Author/EMail&$expand=Author&$filter=(fRecurrence eq '0')& (EventDate gt '@{formatDateTime(utcNow(), 'MM/dd/yyyy')}')

 

_api/lists/getbytitle('@{items('For_each_Calendar_List')}')/items?$select=EndDate,EventDate,Days,Title,fRecurrence,Author/Title,Author/EMail&$expand=Author&$filter=(fRecurrence eq '0') and (EventDate gt '@{formatDateTime(utcNow(), 'MM/dd/yyyy')}')

 

 

I want to filter both frecurrence and Eventdate conditions. Looking for suggestions please. I would appreciate any help.

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 17 Jan 2023 at 20:19:16
    Re: Filter Condition in HTTP Request to SharePoint not working

    Good to know! How is it different to what you were trying earlier?

     

  • Verified answer
    learner4 Profile Picture
    31 on 17 Jan 2023 at 16:28:16
    Re: Filter Condition in HTTP Request to SharePoint not working

    Thank you for the suggestion.The flow and filter worked with the follwing uri:

     

    _api/lists/getbytitle('@{items('For_each_Calendar_List')}')/items?$select=EndDate,EventDate,Days,Title,fRecurrence,Author/Title,Author/EMail&$expand=Author&$filter=(fRecurrence eq '0') and (EventDate gt '@{formatDateTime(utcNow(), 'MM/dd/yyyy')}')

     

    Thank you.

  • learner4 Profile Picture
    31 on 17 Jan 2023 at 03:59:55
    Re: Filter Condition in HTTP Request to SharePoint not working

    @SudeepGhatakNZ  "yyyy-MM-dd"  format didn't help. Still not able to filter the EventDate.

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 15 Jan 2023 at 21:52:02
    Re: Filter Condition in HTTP Request to SharePoint not working

    @learner4 ,

     

    SharePoint rest queries support the "yyyy-MM-dd" format because internally SharePoint saves the dates in this format 2023-01-13T21:00:00.000Z

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete