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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Display 'Person or Gro...
Power Apps
Answered

Display 'Person or Group' Data Type Column in Data Table

(1) ShareShare
ReportReport
Posted on by 99

Hi,

 

I currently have a couple SP lists that are referenced in my app.

 

On one data table, I have a few records being displayed based on a gallery selection.

 

One of those columns I want displayed is a 'Person or Group' data type.

 

PowerApps does not like this, and is expecting a text value. Any ideas on how I could display this information as a text data type?

 

I am currently using ThisItem.Supervisor as my code (doesn't work).

 

I used ThisItem.COLUMN.Value in other areas where I had similar issues, and that worked, but not for this specific column/data type.

 

Thank you!

Screenshot_1.png
Categories:
I have the same question (0)
  • SanjaKan Profile Picture
    49 on at

    Hi!

    Did you try thisitem.supervisor.DisplayName? Maybe that will work?

  • aebara Profile Picture
    99 on at

    Hey @SanjaKan,

     

    I tried this, but also doesn't seem to be working.

     

    Thank you for the suggestion!

  • SanjaKan Profile Picture
    49 on at

    Hey!

    Does it allow you to add the Supervisor column into the data table from the source?

  • aebara Profile Picture
    99 on at

    Yes, I can add the 'Supervisor' field from the source, but it still loads with an error in the 'Text' property of that column.

  • SanjaKan Profile Picture
    49 on at

    Unles the Supervisor column is saved as text type in the list, I have no idea why this is happening.

    Maybe disconnecting the source and re connceting it again sets everything right.

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @aebara ,

     

    I agree with what @SanjaKan said, if you select the corresponding column and apply the following formula on its Text property as 

    ThisItem.supervisor.DisplayName

    It should work.

    Note that thisitem needs initial capitalization.

    vyujincuimsft_1-1654244813459.png

    vyujincuimsft_0-1654244750720.png

     

     

    Best Regards,
    Charlie Choi

  • aebara Profile Picture
    99 on at

    Hi Charlie, thanks for taking a look, but still getting an error in this column...

    object.png

     

    error.png

     

     

     

     

     

    If it helps at all, I had errors in another column I fixed by using this code:

     

    Concat(ThisItem.'Session type'.Value, Concatenate(Text(Value),", "))

     

     

  • WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    Hi @aebara ,

    I suspect your Supervisor column is multi-select, in which case if you only ever have one item selected

    Concat(
     ThisItem.Supervisor,
     Value
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • aebara Profile Picture
    99 on at

    Hello @WarrenBelz!

     

    Happy to see you here 😊

     

    Still getting an error using this formula unfortunately.

     

    Yes, this is a multi-select column. Most times there will only be one selection, but I wanted to leave the possibility of having multiple selections open.

     

    Screenshot_2.pngScreenshot_3.png

     

    Any more ideas?

     

    Thank you!

  • Verified answer
    aebara Profile Picture
    99 on at

    Fixed it!

     

    @v-yujincui-msft @SanjaKan @WarrenBelz 

     

    In case you folks are curious, this is the code I was required to use:

     

     

     

    Concat(ThisItem.'Supervisor'.DisplayName, Concatenate(Text(DisplayName),", "))

     

     

     

    Screenshot_4.png

     

    Glad to have it working now! Had me stumped for a couple days 😤

     

    Still don't know why it works, but we'll take it.

     

    Not working perfectly though. Only the first record in the 'Supervisor' column in my SP list is being returned to the data table, even though I have multiple users selected for that record.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard