cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

ODATA fuzzy query

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!

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: ODATA fuzzy query

@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.

Highlighted
Resolver II
Resolver II

Re: ODATA fuzzy query

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 :

https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-...

 

Let me know if that helps you.

 

Thanks

(Please mark it resolved if it helps you)

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.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Users online (6,841)