Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Error in Get item Filter query

(0) ShareShare
ReportReport
Posted on by 2

We are using AND & OR operator in filter query on Getitem (sharepoint) card but getting below error

 

Filter query syntax : (Status eq 'A' AND (DateOfJoin eq '2020-06-19' OR substringof('07-20',DateOfBirth))

Error: The expression "(Status eq 'A' AND (DateOfJoin eq '2020-06-19' OR substringof('07-20',DateOfBirth))" is not valid. Creating query failed. clientRequestId: dd21470d-849f-4954-92cf-8501cac0c273 serviceRequestId: dd21470d-849f-4954-92cf-8501cac0c27

How we can achieve using AND & OR operator in single query

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Error in Get item Filter query

     

    Hi @harshadb ,

     

    First, make sure that each individual filter is valid. You could configure these filters separately in Filter Query and test them separately.

     

    It should be noted that the calculated column and Choice filed cannot be configured in Filter Query.

     

    Best Regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow