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 / Get list of users who ...
Power Apps
Unanswered

Get list of users who are not present in a list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi ,

I have an app that can assign tasks to users. It has two lists:

1.GlobalTaskAssignees is a sharepoint list that has a column called Assignee of type Person or Group. This list contains all the people that tasks CAN be assigned to.

2.Tasks is a sharepoint list that has the assigned tasks. It also has a column called Assignee of type Person or Group. This list contains all the tasks that have been assigned.

 

I need to get a list of people in GlobalTaskAssignees that do not have a record in Tasks.

 

It Seems this should work:

Filter(GlobalTaskAssignees,Not(Assignee in Tasks.Assignee))

 

But it gives me the following errors:

When hovering over the first Assignee variable I see this:

 
 

When hovering over Tasks.Assignee is see this:

pic2.png

Both the columns are set up the same, but it keeps giving me that error 'Invalid Argument type. Expecting a record value, but of a different schema.

 

Any ideas whats going on here?

 

 

Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    H @Anonymous ,

    Is your issue here is that Not (or <>) is not delegable, neither is In ?

    I just noticed your level, so I guess I do not need to explain this to you.

    The one thing I can think of is that Assignee is a Person/Group type whereas Tasks.Assignee might be text?

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

    @Anonymous 

     

    Please try this:

    Filter(AddColumns(GlobalTaskAssignees,"GTAName",Assignee.DisplayName), Not(GTAName in AddColumns(Tasks,"TName",Assignee.DisplayName).TName))

    Snipaste_2020-02-05_20-00-45.png

    Sik

     

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard