cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Filter Person or Group field in Form

Hello all, 

 

I have a SharePoint list. In this list I have the field Approver. This field is a Person or Group field which pulls from AD. A person should be able to select anyone in this list except themselves. 

 

This is the base Items: Choices([@'Procurement Request'].VPApprover)

 

I have tried many variations of something like this:

Filter(Choices([@'Procurement Request'].VPApprover),DisplayName <> User().FullName)

Filter(Choices([@'Procurement Request'].VPApprover),ThisItem.'VP Approver'.Email <> User().Email)

 

I just can't find the right combo to make it work. Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Memorable Member
Memorable Member

Re: Filter Person or Group field in Form

Hi @chris_young ,

You can tey with the below Code Approach.

Filter(Choices([@'Procurement Request'].VPApprover),Lower(DisplayName) <> Lower(User().FullName))

Filter(Choices([@'Procurement Request'].VPApprover),Lower(ThisItem.'VP Approver'.Email) <> LOwer(User().Email))

 

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Please Vote for my idea if you feel, that will help you in the future or good to have in power app.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-s-to-Select-Icon-from-UIFabric/idi-p/69...

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Preview-Mode-for-All-the-Device-Like-Phone-Tabl...

 

View solution in original post

2 REPLIES 2
Highlighted
Memorable Member
Memorable Member

Re: Filter Person or Group field in Form

Hi @chris_young ,

You can tey with the below Code Approach.

Filter(Choices([@'Procurement Request'].VPApprover),Lower(DisplayName) <> Lower(User().FullName))

Filter(Choices([@'Procurement Request'].VPApprover),Lower(ThisItem.'VP Approver'.Email) <> LOwer(User().Email))

 

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Please Vote for my idea if you feel, that will help you in the future or good to have in power app.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-s-to-Select-Icon-from-UIFabric/idi-p/69...

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Preview-Mode-for-All-the-Device-Like-Phone-Tabl...

 

View solution in original post

Highlighted
Helper II
Helper II

Re: Filter Person or Group field in Form

@VijayTailor 

Bingo!!! Thank you

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,612)