cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IanBrooks
Level: Powered On

ODATA filter using And operator

Hi all,

 

I'm trying to build a flow where I get items from a sharepoint list and filter them by two or more columns, but every time I try to use the And operator in the ODATA filter, I get a bad request error. Is this just a broken implementation of filtering or am I actually doing something wrong?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: ODATA filter using And operator

Hi @IanBrooks,

 

Could you please share a screenshot of your flow’s configuration?

Do you use the And operator in Filter Query field of “Get items” action?

Further, could you please show a bit more about the error message?

I suppose that you want to filter items based on multiple columns of SharePoint list, I think there is something wrong with your formula. Please take a try to change "And" Operator into "and" operator:16.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
8 REPLIES 8
Highlighted
Community Support Team
Community Support Team

Re: ODATA filter using And operator

Hi @IanBrooks,

 

Could you please share a screenshot of your flow’s configuration?

Do you use the And operator in Filter Query field of “Get items” action?

Further, could you please show a bit more about the error message?

I suppose that you want to filter items based on multiple columns of SharePoint list, I think there is something wrong with your formula. Please take a try to change "And" Operator into "and" operator:16.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
IanBrooks
Level: Powered On

Re: ODATA filter using And operator

Hi Kris,

 

You've answered my question, the And operator isn't supported at present, which is a real shame as it is restricting the usability of the filter. Hopefully it will come in a future update!

 

Thanks

 

Ian

Super User
Super User

Re: ODATA filter using And operator

Kris

Thanks for sharing the link. It is a very valuable info!

 

@IanBrooks

I guess for some reason you have discarded using Filter Array action block, right?

BR

 





If anybody solved your question, remember to mark its post as a solution!

Proud to be a Flownaut!





IanBrooks
Level: Powered On

Re: ODATA filter using And operator

@efialttesThat's correct, I didn't really have a lot of choice as it simply doesn't fit the bill for our needs at present

kbirstein1
Level: Powered On

Re: ODATA filter using And operator

This is supported now. I have the following odata filter which works:

 

Frequency ne null and ApprovalStatus eq 'Approved' and TaskStatus ne 'Complete' and SelectMethod ne 'By Attribute'"

Uvais
Level: Power Up

Re: ODATA filter using And operator

Is it really working now.? I tried below condition and got error message

Company eq 'Test' and Zone eq 'SW'

Is there other way to get a filtered excel row with multiple conditions.
rjhale
Level: Powered On

Re: ODATA filter using And operator

Did you ever get this worked out?  I'm also trying to filter on multiple "eq" conditions, but I'm getting an error indicating that mutltiple conditions is not supported.  I'm using the List Rows Present in Table action within the Excel (Business) connector. 

X-off
Level: Powered On

Re: ODATA filter using And operator

Thanks @efialttes 

 

Using the filter array action block is a great workaround for the "and" operator not working !

 

You made my day week !

 

Christophe

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 42 members 4,937 guests
Please welcome our newest community members: