cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WeiMingLeong
Helper V
Helper V

to hide name value from dropdown list

Hi thank you for taking your time to read this question.

I am trying to hide name from the value of a Dropdown list (Column Name Approver (Choice column). 
This approver column, contain few people as the approver.
But when the approver who doing the claim, i dont want them to select their own name from the approver dropdown list.
how can i hide their name from the dropdown list.

 

For Example Name B is as employee who trying to submit his own claim, on the Approver dropdownlist he should be selecting Display name E. i would like to Hide name B from the approver list when he is doing the claim himself.

WeiMingLeong_0-1669195153338.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-liwei-msft
Community Support
Community Support

Hi @WeiMingLeong 

 

You can modify the formula to:

Filter(Choices(Expenses.Approver),Value <> User().FullName)

 

Best Regards,

Levi

View solution in original post

4 REPLIES 4
Sundeep_Malik
Community Champion
Community Champion

Hey @WeiMingLeong 

 

Found this old problem related to this.

Instead in your case, you can can set it to the current users Full name:

Filter(Choices(FullName, !User().FullName)

 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Hiding-one-choice-in-a-drop-down-column/td-p...

 

 

 

Hi @Sundeep_Malik ,
I have tried but it doesn't work hide my name from the value.
the Approver column in the sharepoint list is choice option whereby i manually enter each approver Display Name.
When i tr

WeiMingLeong_0-1669267390407.png

 

v-liwei-msft
Community Support
Community Support

Hi @WeiMingLeong 

 

You can modify the formula to:

Filter(Choices(Expenses.Approver),Value <> User().FullName)

 

Best Regards,

Levi

hi @v-liwei-msft ,

your solution work. thank you!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,255)