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 Apps / Display Displayname fr...
Power Apps
Unanswered

Display Displayname from SharePoint people field in Powerapps gallery

(2) ShareShare
ReportReport
Posted on by

Hello,

 

I have created a SharePoint list where I have a People column named as "PendingWith". I have connected this SharePoint list to my Gallery in PowerApps. For one of the label in the gallery, when I add the following formula 

ThisItem.PendingWith.DisplayName

it showcases an error "Expected text value.PendingWith.Text". How can I fix this?

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    The error is normally caused by the SharePoint people/group column being set to allow multiple values and the label in PowerApps which expects a text string doesn't know what to do with it.

     

    If the multi select is enabled for the column and that is what you want then you can concat the data into a string and display it in a label.

    Example: Concat(ThisItem.PendingWith, DisplayName, "; ")

  • Community Power Platform Member Profile Picture
    on at

    What a neat trick @Jeff_Thorpe ! Thanks for the solution, worked great. Marking as solution.

     

    Cheers,

    AK

  • jkb6011 Profile Picture
    122 on at

    @Jeff_Thorpe - What about when Multi Select is turned off? I have it turned off and receiving error.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard