Announcements
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.
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,KrishnaIf 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.
Hi @KrishnaV
the link you had sent is not working. Could you please check it. Thanks.
@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
See the below thread on the same:https://powerusers.microsoft.com/t5/Common-Data-Service-for-Apps/People-Picker-for-CDS/td-p/161919
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 tried that. It works for a while and suddenly throws the same error. Strange!
May I know the error what you see, would you mind send me error screenshot to help you better.
Hi @KrishnaV Attached a screenshot
Can you try this:
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'));
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 345 Super User 2026 Season 2
Mohsin Ali 225
M Bilal Khan 192