cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

ODATA filter using and or operator

Hi

 

I would like to confirm if that can be realized if I set  ODATA filter of Get Items as below.

status is Choices column.

We hope to filter the item which Open Date > Today and Status is '協議中' or '検証中'.

 

Open_x0020_Date gt '@{utcNow()} 'and Status eq'協議中' or Status eq '検証中'

 

キャプチャ.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: ODATA filter using and or operator

OData filters will work with And & Or, but you will need to add some parentheses to group the clauses appropriately.  It should look something like this

Open_x0020_Date gt '@{utcNow()}' and (Status eq'協議中' or Status eq '検証中')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Highlighted
Dual Super User III
Dual Super User III

Re: ODATA filter using and or operator

OData filters will work with And & Or, but you will need to add some parentheses to group the clauses appropriately.  It should look something like this

Open_x0020_Date gt '@{utcNow()}' and (Status eq'協議中' or Status eq '検証中')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,293)