Skip to main content

How to Show the Names in a SharePoint Person Column in Power Apps

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

A SharePoint Person column that allows several people reaches Power Apps as a table, with a record for each person. To show the names in a label, join the records' DisplayName values with Concat.

Syntax​

Syntax
Concat(Item.PersonColumn, DisplayName, Separator)
PartWhat it is
ItemThe item whose people you show, such as ThisItem in a gallery's row.
PersonColumnA Person column that allows several people: a table with one record per person.
DisplayNameThe field to join, the person's name. Each person record also has Email, Department and JobTitle.
SeparatorThe text between two names, such as ", ". Microsoft's Concat reference puts it between the values, not after the last one.

The example below is a gallery of departments, each showing the people who approve its overtime.

Prerequisites​

How Power Apps Sees a Person Column​

Each person is a record with fields such as DisplayName and Email. When the column allows several people, the value is a table of those records (How to Check If the Current User Is in a SharePoint Person Column in Power Apps). In SharePoint, the example's Approvers column shows each person as a chip:

The Departments list in SharePoint with the columns Department, Approvers and IsActive: Emergency Department with Olivia Bennett, Radiology with Daniel Brooks, Finance with Admin User and Day Surgery with Olivia Bennett

Step 1: Join the Names with Concat​

In the gallery's row, set a text control's Text to the people's names, separated by a comma and a space (How to Join Table Values into Text in Power Apps with Concat):

lblApproversDS → Text
"Approvers: " & Concat(ThisItem.Approvers, DisplayName, ", ")

The formula bar with the Text property of lblApproversDS set to "Approvers: " & Concat(ThisItem.Approvers, DisplayName, ", "), the preview strip saying This formula uses scope, which is not presently supported for evaluation, and the gallery of departments on the canvas with an Approvers line in each row

The preview strip can't work out formulas that use ThisItem and says so; the rows on the canvas show the result (How to See What a Formula Returns in Power Apps Studio).

Step 2: Leave Room for Several Names​

Two or three names make a long line. In the example, the label is 56 pixels high with Vertical align set to Top, so the names wrap onto a second line inside the row. A department with two approvers:

The Departments screen in Preview, with Day Surgery showing Approvers: Olivia Bennett, Daniel Brooks, and Emergency Department, Finance and Radiology with one approver each

Common Mistakes​

MistakeWhat happensDo this instead
ThisItem.Approvers.DisplayName in a text controlIt's a table of names, not textConcat(ThisItem.Approvers, DisplayName, ", ")
Joining Email to show peopleReaders see addresses instead of namesJoin DisplayName
A one-line label for the namesLong lists are cut offMore height, Vertical align Top

Troubleshooting​

SymptomLikely causeFix
This formula uses scope, which is not presently supported for evaluation.Studio's preview strip can't work out ThisItemCheck the rows on the canvas, or in Preview
The line is emptyThe item has nobody in the columnShow a word for that case, such as If(IsEmpty(ThisItem.Approvers), "No approvers", ...)

FAQ​

What about a column that allows only one person?​

Then the value is one record, not a table, so ThisItem.Approver.DisplayName gives the name, with your column's name in place of Approver.

Can I show emails instead?​

Yes: join Email instead of DisplayName. The example shows names, because people recognize them more easily than addresses.

Conclusion​

A multi-person column is a table of people. Concat(column, DisplayName, ", ") turns it into one line of names, and a taller label with Vertical align Top keeps longer lists readable.

Additional Resources​