cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RussellGove
Level 10

Filter SharePoint list based on MultiUser column

I have a sharepoint list of tasks. The tasks list has an Assigned To column (field type SPUser). It allows multiple users to be selected. It ONLY allows user... no groups.

 

How can I filter the list to select only tasks assiggned to the current  user. 

2 REPLIES 2
Super User
Super User

Re: Filter SharePoint list based on MultiUser column

You can use the in operator. It would look something like this:

 

Filter('Data Source', User().Email in AssignedTo.Email)

Since the "in" isn't delegable in SharePoint you could run into some issues if you have a large list.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
RussellGove
Level 10

Re: Filter SharePoint list based on MultiUser column

Thanks, That works. I didn't know there was an IN operator. Thats way simpler than the route I was going:

Filter(
testlist,
IsBlank(
LookUp(
testlist.multiusercol,
Upper(Email) =Upper( User().Email)
) )) )

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,942)