Hi @Oskarkuus ,
For your first question, do you want to filter the available options within the Person Picker Up ComboBox?
Based on the needs that you mentioned, I afraid that there is no direct solution to achieve your needs. It is an known issue with Person Picker column of SP List in canvas app -- when you apply a Filter formula to the Person Picker ComboBox, the Person Picker ComboBox would not show up any results. So I think the Filter(Choices([@'SP List].PersonColumn), StartsWith(DisplayName, "test")) could not achieve your needs.
As an alternative solution, I think the Office 365 Users connection could achieve your needs. The user @karlagb20 has faced similar needs with you, please check my response within the following thread:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Dropdown-choices-People-picker-field/m-p/437988
On your side, you consider add a Office 365 Users connection in your app. Then unlock the Person Picker field data card in your Edit form, set the Items property of the Person Picker ComboBox to following:
Filter(
Office365Users.SearchUser({searchTerm: PersonPickerComboBox.SearchText, top:999}),
!StartsWith(DisplayName, "Type the filter text here") // excluede users start with a specific text
)
Note: The top property within the Office365Users.SearchUser() could limit the returned user results, the Maximum value is 999, in other words, you could only return 999 users at most from your org once time.
Set the Update property of the Person field data card in your Edit form to following:
{
Claims: "i:0#.f|membership|" & Lower(PersonPickerComboBox.Selected.Mail),
DisplayName: PersonPickerComboBox.Selected.DisplayName,
Email: PersonPickerComboBox.Selected.Mail,
Department: "",
JobTitle: "",
Picture: ""
}
Set the DefaultSelectedItems property of the Person Picker ComboBox to following:
LookUp(Office365Users.SearchUser(), Mail = ThisItem.PersonField.Email)
For your second question, if you want to limit the user options within the Person Picker ComboBox, I think the top property within the Office365Users.SearchUser() could achieve your needs.
If you want the user not to be able to scroll through all users (based on above solution), instead, only be able to Search in the ComboBox, I afraid that there is no way to achieve your needs in PowerApps currently.
Best regards,