Hi ,
I want to use ODATA query to filter in 'Get Items' . We have a column named 'Test No'. it includes the values like ' PPP-20-001'. 'PPP-20-002'. The middle two chars means the creation year value. I want to use ODATA to filter out all the items like 'PPP-20-xxx'.
Is there a way to achieve that in ODATA query?
Thanks!
Hi @jackwu ,
You can use "startswith" operator to filter out data. You can use filter query as per below .
Filter query=startswith(fieldname,'PPP-20-')
Refer following article for use of different operators in flow :
Let me know if that helps you.
Thanks
(Please mark it resolved if it helps you)
@jackwu this isn't possible with your example as the filtering you can do is less than (lt), less than or equal to (le), greater than (gt), greater than or equal to (ge), equal to (eq) and not equal to (ne). So you will need to use a filter array once you've brought back your items from the list as that CAN have a contains.
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.