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: The expression is invalid

(0) ShareShare
ReportReport
Posted on by 10,921 Super User 2024 Season 1

I am getting the following Error while loading some data from CDS. Here People is the name of the Entity

The requested operation is invalid. Server response: People failed: The expression is invalid

Any help would be much appreciated.

Thanks.

Error.JPG
Categories:
  • KrishnaV Profile Picture
    5,023 on at

    Hi @CNT ,

     

    May I know how you are reading the entity, could you share me the formula.

    Check the below article for People or group field in CDS: 
    People or Group Field in CDS 


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    Hi @KrishnaV 

    the link you had sent is not working. Could you please check it. Thanks.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @KrishnaV 

    The following formula works fine

    Collect(colPeople,Filter([@People], 'Primary Faith Home'.'Faith Home' = ddnFaithHome.Selected.'Faith Home'));

     

    When I add more conditions like below it throws the error

    Collect(colPeople,Filter([@People], Or('Primary Faith Home'.'Faith Home' = ddnFaithHome.Selected.'Faith Home', 'Secondary Faith Home'.'Faith Home' = ddnFaithHome.Selected.'Faith Home')));
  • KrishnaV Profile Picture
    5,023 on at

    See the below thread on the same:
    https://powerusers.microsoft.com/t5/Common-Data-Service-for-Apps/People-Picker-for-CDS/td-p/161919


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • KrishnaV Profile Picture
    5,023 on at

    Hi @CNT ,

     

    Try this:

    Collect(colPeople,Filter([@People], ('Primary Faith Home'.'Faith Home' = ddnFaithHome.Selected.'Faith Home' || 'Secondary Faith Home'.'Faith Home' = ddnFaithHome.Selected.'Faith Home')));

     
    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    Hi @KrishnaV 

    I tried that. It works for a while and suddenly throws the same error. Strange!

  • KrishnaV Profile Picture
    5,023 on at

    Hi @CNT ,

     

    May I know the error what you see, would you mind send me error screenshot to help you better.

     

    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    Hi @KrishnaV Attached a screenshot

    Error.JPG
  • KrishnaV Profile Picture
    5,023 on at

    Hi @CNT ,

     

    Can you try this:

    1. Logout from make.powerapps.com
    2. Close all the active browsers
    3. sign-in back to make.powerapps.com


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @CNT :

    Could you check if the following code reports an error?

     

    Collect(colPeople,Filter([@People], 'Secondary Faith Home'.'Faith Home' = ddnFaithHome.Selected.'Faith Home'));

     

    Could you tell me :
    • What are'Primary Faith Home' and'Secondary Faith Home'? How are they set up? What the difference between them?
    • What is ddnFaithHome's items property?

    Best Regards,

    Bof

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard