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 / Lookup Function Error
Power Apps
Unanswered

Lookup Function Error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to do a lookup function from a selected value from my datatable to salesforce.

Here is the code:

LookUp(Data,DataTable2.Selected.Info_No ='Client #','Client ID Email')

That results in this error:

The requested operation is invalid. Server Response: The filter query provided is invalid or not supported.

Any ideas/help?

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Anonymous 

     

    Can you try to update the expression as:
    LookUp(Data, 'Client #' = DataTable2.Selected.Info_No,'Client ID Email')
     
    Also, where are you placing this expression in your app. I carried out a test on my side and it worked without any issue. Make sure that the 'Client #' and DataTable2.Selected.Info_No are of same type.
     
    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!
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share more details about the error message within your app?

    Where do you put your LookUp formula? Within a Label control?

    Does the "Data" represents your Salesforce table?

     

    Based on the formula you provided, I could not find any syntax error with it. Please check if the result the DataTable2.Selected.Info_No formula returned could match the values in "Client #" column of your Salesforce table.  Also please make sure the data type of the result the DataTable2.Selected.Info_No formula returned is same with the "Client #" column of your Salesforce table.

     

    Please consider take a try to set the Text property of the Label to following:

    First(Filter(Data, 'Client #' = DataTable2.Selected.Info_No)).'Client ID Email'

    Please take a try with above solution, check if the issue is solved.

     

    If the issue still exists, please consider re-generate a new app based on your data source, then try above formula again, check if the issue is fixed.

     

    Best regards,

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard