cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tchong95
Helper I
Helper I

OData filter query 4 conditions

Hi, I have to get items from a sharepoint list that is in the condition of the following item

1. Both Column 1 & 2 (Choice) must be None(one of my sharerpoint choice if someone misclick) or null

2. If one of the column 1 & 2 contains choices other than None, that item will not be selected.

Column 1Column 2
Null/NoneNull/None

 

How do I write a OR statement in ODATA filter?

 

the following screenshot is some attempts i did

tchong95_1-1647790383889.png

Reasonfordelay_x0028_QELinterven eq 'None' or Reasonfordelay_x0028_QELinterven eq null

 

3 REPLIES 3
abm
Super User
Super User

Hi @tchong95 

 

Your Reasonfordelay_x0028_QELinterven eq 'None' or Reasonfordelay_x0028_QELinterven eq null look right to me. What's your other column name called. You need to mix with an and operator for other with similar conditions.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

do I have to use bracket for ODATA?

For example,

(condition 1) and (condition 2 )

Yes you need brackets.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,165)