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.

View solution in original post

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.

View solution in original post

Helpful resources

Announcements
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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,982)