cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shal2522
Helper III
Helper III

Powerapp - Finding a user(search)

Hi,

 

I am trying to search in the below dropdown for a user and it is not working.

How to modify this code? Can we use display name instead?

SortByColumns(Filter([@'Inventory List'], 'Assigned To'.Email= ComboBox1.Selected.Mail), "Title", If(SortDescending1, Descending, Ascending))

 

shal2522_0-1661525894661.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
PowerRanger
Super User
Super User

@shal2522 what's the datasource for the ComboBox?

 

You can change the search field by selecting the combobox, click on edit fields in the properties pane on the right. Here you should have the possibility to set the display field and search field.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

1 REPLY 1
PowerRanger
Super User
Super User

@shal2522 what's the datasource for the ComboBox?

 

You can change the search field by selecting the combobox, click on edit fields in the properties pane on the right. Here you should have the possibility to set the display field and search field.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

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,100)