cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

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
Highlighted
Community Support
Community Support

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.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

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.

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (7,575)