cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jbarkerag
Level: Powered On

PostgreSQL Filter Query "In" Comparison

I have created a PostgreSQL connection through an On-Premises Data Gateway and have successfully performed tests of passing a variable through PowerApps as seen in the picture below.

 

Flow PostgreSQL Example.PNG

 

The filter query here

material eq 'partnumber'

works just fine, but now I am trying to see if I can use the OData filter to compare against a list of part numbers, similar to this: 

material in ('partnumber1', 'partnumber2', 'partnumber3')

 

According to the OData Documentation, "in" should be a valid operator, but I can't seem to get it to work in the filter query. Is there something I am doing wrong? Or is there a better way to approach this problem?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: PostgreSQL Filter Query "In" Comparison

Hi @jbarkerag

 

I am afraid that function in is not supported. Per my test, the function in always returns an invalid error.

 

Please check out the following Microsoft page on Using Filter Expressions in OData URIs, you will get all the available functions at here:

https://docs.microsoft.com/en-us/previous-versions/dynamicsnav-2016/hh169248(v=nav.90)

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: PostgreSQL Filter Query "In" Comparison

Hi @jbarkerag

 

I am afraid that function in is not supported. Per my test, the function in always returns an invalid error.

 

Please check out the following Microsoft page on Using Filter Expressions in OData URIs, you will get all the available functions at here:

https://docs.microsoft.com/en-us/previous-versions/dynamicsnav-2016/hh169248(v=nav.90)

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 271 members 4,754 guests
Please welcome our newest community members: