Announcements
Afternoon! Everyone. I am trying to get only name and picture value, if possible from my person or group column in share-point list and to display it in gallery in power-apps. How can I achieve that?
Here is my column and I want to show only the encircled part.
So, I was successfully updated the picture but when I use the code for Display name which i was using before it display the whole thing, name and email.
Hi @Anonymous ,
Have you ever tried this?
If your code is correct and you still get name and email, it may be because your organization added the user's email to the DisplayName field when filling out people information.
The following code may help solve your problem.
First(Split(ThisItem.PersonColumn.DisplayName,",")).Value //I assume that the name and the email are joined by a comma, so we cut it with a comma and get the first value of the result.
Thanks for reading!
Rimmon
I have found another solution but i loved yours. It simple and more understandable. Thank You.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 352 Super User 2026 Season 2
M Bilal Khan 323
Mohsin Ali 226