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

(0) ShareShare
ReportReport
Posted on by 80

Hi all,

 

I am using a gallery in the first screen of my app and data are extracting from sharepoint

Here's the code of a rectangle in the gallery :

 

If(And(LookUp(Progress_Table,Name=ThisItem.Name).'Day 1'<>"In Progress",
LookUp(Progress_Table,Name=ThisItem.Name).'training'<>"In Progress",
LookUp(Progress_Table,Name=ThisItem.Name).'attachment'<>"In Progress",
LookUp(Progress_Table,Name=ThisItem.Name).'Completion of training'<>"In Progress",
LookUp(Progress_Table,Name=ThisItem.Name).'Probation'<>"In Progress",
LookUp(Progress_Table,Name=ThisItem.Name).'Contract'<>"In Progress"),
If(And(LookUp(Progress_Table,Name=ThisItem.Name).'Day 1'<>"Completed",
LookUp(Progress_Table,Name=ThisItem.Name).'training'<>"Completed",
LookUp(Progress_Table,Name=ThisItem.Name).'attachment'<>"Completed",
LookUp(Progress_Table,Name=ThisItem.Name).'Completion of training'<>"Completed",
LookUp(Progress_Table,Name=ThisItem.Name).'Probation'<>"Completed",
LookUp(Progress_Table,Name=ThisItem.Name).'Contract'<>"Completed"),DimGrey,Green),Red)

 

I want to indicate the stage of the member by using colors. But the error "The requested operation is invalid. Server Response: Progress_Table failed: Expression "Name eq null" is not supported. clientRequestId:...." shown in just 

 

LookUp(Progress_Table,Name=ThisItem.Name).'Completion of training'<>"In Progress"

 

from the above code. If I deleted any word in this syntax and add back the exact same word, the error will disappear and the code work normally without error. However, every times I start the app, there will be an error.

 

Any idea what I did wrong? Thanks! 

Categories:
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @R_KW ,

    It might be because you are trying this in edit mode and when ever there is any operation with blank data the code throws error with non blank data it works fine.

    Would be able to check if the name field is not blank than only perform this action ?

     

  • R_KW Profile Picture
    80 on at

    Neither the name field nor Thisitem.Name is blank.

  • Verified answer
    PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @R_KW 

     

    Would you please try below code ?

    if(!IsBlank(ThisItem.Name),LookUp(Progress_Table,Name=ThisItem.Name).'Completion of training'<>"In Progress"))

     

     

  • R_KW Profile Picture
    80 on at

    Thanks! It works.

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard