Hi @F_Quint ,
Do you want to display person field in powerapps?
Could you tell me
1)whether this person field allows multiple value?
2)where do you want to display person field? A label?
Firstly, let me explain where's your problem:
1)please notice the structure of person field:
not allow multiple value: //a record
{ Department:"",
DisplayName:"....",
Email:".....",
JobTitle:"",
Picture:""
}
allow multiple value: //a table
Table({ Department:"",
DisplayName:"....",
Email:".....",
JobTitle:"",
Picture:""
}
)
2)you need to set a label's Text to a text value, not record or table value.
If you want to display it in data table, it only display simple data type by default. You need to use AddColumns function to add a column with the displayname value of the person field which is text type.
Back to your issue, I list some possibilities for your reference:
1)if the person field not allow multiple value and display in a label
You should set the label's Text:
ThisItem.personfield.DisplayName
2)if the person field allow multiple value and display in a label
You should set the label's Text:
Concat((ThisItem.personfield),DisplayName&" ")
3)if the person field not allow multiple value and display in a data table
You should set the data table's Items:
AddColumns(table,"personvalue",personfield.DisplayName)
4)if the person field allow multiple value and display in a data table
You should set the data table's Items:
AddColumns(table,"personvalue",Concat(personfield,DisplayName&" "))
Best regards,