web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to get DisplayName...
Power Automate
Answered

How to get DisplayName from a column of type "Person" that allows multiple entries?

(0) ShareShare
ReportReport
Posted on by 151

I have a SharePoint list with 3 columns: Title (Text), Employee (Person), and EmployeeName (Text). Every time someone creates an entry by filling only the first two columns, I want to create a flow which automatically extracts the 'DisplayName' of the Employee, and updates the EmployeeName column of the item. Note it's important that Employee column allows multiple values.

 

I created a flow where when an item is created, it grabs the item and updates it, like so.

flow.png

 

This works fine when there's only one item in the Employee column, and when there's multiple items it only grabs the last Employee to update the EmployeeName column. How can I update the EmployeeName column using all Employee entries in that item?

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @SachS  here you can find information about what you need

    Solved: Error updating person/group column with "Allow Mul... - Power Platform Community (microsoft.com)

  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @SachS 

    You should use 'update item' action outside the 'apply to each' loop. Please try to initialize an String variable, then use the Apply to each to append each DisplayName from the item into the variable, after that, put the variable into the field of 'Employee Name' column, you can refer to below screenshots:

    vLilyWmsft_0-1647407625907.png

    vLilyWmsft_2-1647407837921.png

    If you want a space between the two names, you can add a space after the ‘Employee DisplayName’.

    vLilyWmsft_3-1647407930258.png

    vLilyWmsft_4-1647407954672.png

    Save and test the flow, when a new item is created like below:

    vLilyWmsft_5-1647408069307.png

    After flow runs, Employee Name column will be update like below:

    vLilyWmsft_6-1647408128987.png

    Hope the content above may help you.

    Best Regards

    If my reply helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Linn1 Profile Picture
    10 on at

    Hi,

     

    I am trying to do the exact same thing as you do here: Copy names from user field into text field. My flow runs successfully, but the text column does not get updated. Any ideas why? 

     

    See screenshots of my flow. 

     

    Thanks in advance! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard