cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
smsdavis
Level: Powered On

Filter Sharepoint List by Assigned To

I have a simple app in Sharepiont probably based on the TASKS app.  I have an Assigned To field that is type Person or Group.  I select the person and the field then shows the name of the person.

 

In Power Apps I've looked at dozens of solutions to filter this data by the person it is assigned to and none of those work.  

 

What is the correct way to filter by Assigned To in Power Apps?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Filter Sharepoint List by Assigned To

Hi @smsdavis,

Could you please share a bit more about your Filter formula within your app?

Do you enable "Allow Multiple Selections" option for the Assigned To column?

If you have enabled "Allow Multiple Selections" option for the Assigned To column (In default, the Assigned To column has been enabled "Allow Multiple Selections" option), I have made a test on my side, please take a try with the following workaround:14.JPG

Set the Items property of the Gallery control to following:

Filter('20180510_case4',User().Email in 'Assigned To'.Email)

On your side, you should type the following:

Filter('YourSPTaskList',User().Email in 'Assigned To'.Email)
Filter('YourSPTaskList',"The Specific Email Address" in 'Assigned To'.Email)

 

If you don't enable "Allow Multiple Selections" option for the Assigned To column, please take a try with the following formula:

Filter('YourSPTaskList',User().Email = 'Assigned To'.Email)
Filter('YourSPTaskList',"The Specific Email Address" in 'Assigned To'.Email)

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Super User
Super User

Re: Filter Sharepoint List by Assigned To

Filter(source, AssignedTo.Email="email")

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
DanielaH
Level 8

Re: Filter Sharepoint List by Assigned To

Perhaps try something like

Filter(SharePointList, AssignedTo = User().Email)

This would filter the list by column 'Assigned To' and would only return items where the entered data (e.g. email addresses or names) match the credentials of the person looking at it.

 

Community Support Team
Community Support Team

Re: Filter Sharepoint List by Assigned To

Hi @smsdavis,

Could you please share a bit more about your Filter formula within your app?

Do you enable "Allow Multiple Selections" option for the Assigned To column?

If you have enabled "Allow Multiple Selections" option for the Assigned To column (In default, the Assigned To column has been enabled "Allow Multiple Selections" option), I have made a test on my side, please take a try with the following workaround:14.JPG

Set the Items property of the Gallery control to following:

Filter('20180510_case4',User().Email in 'Assigned To'.Email)

On your side, you should type the following:

Filter('YourSPTaskList',User().Email in 'Assigned To'.Email)
Filter('YourSPTaskList',"The Specific Email Address" in 'Assigned To'.Email)

 

If you don't enable "Allow Multiple Selections" option for the Assigned To column, please take a try with the following formula:

Filter('YourSPTaskList',User().Email = 'Assigned To'.Email)
Filter('YourSPTaskList',"The Specific Email Address" in 'Assigned To'.Email)

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

stingray
Level: Powered On

Re: Filter Sharepoint List by Assigned To

Hi, this does not work, not only do you get the delagation warning the Assgned To column is blank when using a Task liat as a Data source.

 

Does anyone know the reason for this?

 

Thanks

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
Users Online
Currently online: 280 members 4,788 guests
Please welcome our newest community members: