Re: Search person or group field in powerapps
Hi @marial16 ,
Do you want to filter based on display name of person or group field?
Two solutions:
1)use search function
Yes, if you use search function, you need to add a column with display name as a text field.
The reason is that search function only works for text type field. Other data type are not supported.
So the formula should be like this:
Search(AddColumns(table,"displayname",personfield.DisplayName),
Textinput.Text,
"displayname",
"field1","field2",...)
2)use filter function
Filter function could work for multiple data type.
If you use this function, you no longer need to add another column.
Formula should be like this:
Filter(table,
Textinput.Text in personfield.DisplayName,
Textinput.Text in field1,
Textinput.Text in field2,
....)
Best regards,