cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tiffany-Jo
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
Pstork1
Dual Super User III
Dual Super User III

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
Pstork1
Dual Super User III
Dual Super User III

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (21,566)