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

The requested operation is invalid. Server Response: No function signature for the function with the name 'contains' matches the specified arguments

Hi all,

 

Having some issues filtering a SQL data source with the following formula:

 

 

ClearCollect(PITeamMembers , Filter(
        '[HRfact].[vwPIHierarchy]',
         _SelectedLocationNumber in 'Location Number'
    ) )

 

 

I am getting a very strange error. Basically, i want to either

  1. create a collection of only the items from the SQL source column 'Location Number' that are equal to the variable _SelectedLocationNumber
  2. Or - skip making the collection, and filter the gallery to only show the SQL source column 'Location Number' that are equal to the variable _SelectedLocationNumber

And I am getting the following error:

 

Error for option 1:

 

image.png

Error for option 2:

 

Filter(
        '[HRfact].[vwPIHierarchy]',
         _SelectedLocationNumber in 'Location Number'
    )

image.png

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: The requested operation is invalid. Server Response: No function signature for the function with the name 'contains' matches the specified arguments

Hi @biuser 

 

Can you try out the below expression:
 
ClearCollect(PITeamMembers , Filter(
        '[HRfact].[vwPIHierarchy]',
         Location Number' = _SelectedLocationNumber
    ) )
 
If you directly want to filter Gallery, then use:
Filter(
        '[HRfact].[vwPIHierarchy]',
         Location Number' = _SelectedLocationNumber
    )
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: The requested operation is invalid. Server Response: No function signature for the function with the name 'contains' matches the specified arguments

Hi @biuser 

 

Can you try out the below expression:
 
ClearCollect(PITeamMembers , Filter(
        '[HRfact].[vwPIHierarchy]',
         Location Number' = _SelectedLocationNumber
    ) )
 
If you directly want to filter Gallery, then use:
Filter(
        '[HRfact].[vwPIHierarchy]',
         Location Number' = _SelectedLocationNumber
    )
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

biuser
Level: Powered On

Re: The requested operation is invalid. Server Response: No function signature for the function with the name 'contains' matches the specified arguments

Thank you @yashag2255  for your help on both my posts, very much appreciated!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,055)