web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The requested operatio...
Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    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!
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard