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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / multiple ODATA Filter ...
Power Automate
Answered

multiple ODATA Filter with And operator

(0) ShareShare
ReportReport
Posted on by 201

Hi @ALL,

can someone help me to run this flow:

Bildschirmfoto 2020-11-24 um 17.23.33.png

 

The flow breaks by the multiple ODATA filter.

 

It runs if I only set one Filter Option like

 

"PersonalID eq PersonalID(Excel)"

 

or 

 

"Jahr eq Jahr(Excel)".

 

How can I run the Flow with the AND operator?

 

 

Categories:
I have the same question (0)
  • Verified answer
    bradleyhorton Profile Picture
    187 on at

    Hi @dobroo  try removing the brackets and using and instead of AND. I've never seen brackets in OData and think there is something funny with it being case sensitive. 

  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at

    @dobroo

    Agree with @bradleyhorton - but it also looks like you are missing the single quotes

    It should be formatted as: fieldName operator 'value' and fieldName operator 'value'

    For example: Title eq 'Hello World' and Name eq 'Jay'

    Noting there can be some variation with different field types but this is a good starting point

    HTH

    Jay

     

  • dobroo Profile Picture
    201 on at

    Hi @bradleyhorton 

     

    Perfect. Both the brackets and the "and" helped. Thank you

  • td1979 Profile Picture
    157 on at

    This a very old thread but I thought I would add something as it solved my problem. 

     

    I needed single brackets around my date expression. i.e. 

    Status eq 'waiting' and CreatedDate le addDays(utcNow(),-14,'yyyy-MM-dd') - failed

    Status eq 'waiting' and CreatedDate le 'addDays(utcNow(),-14,'yyyy-MM-dd')' - worked

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard