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 / Power App throw's an e...
Power Apps
Unanswered

Power App throw's an error with this formula - "Office365Users.UserProfile(ThisItem.'Column1').DisplayName"

(0) ShareShare
ReportReport
Posted on by 2

VivekVeera29_0-1683277826884.png

Above image is from the data table, Instead of display name it is giving me [[error]].

Column 1 is a Single line text in the backend list which stores emails.

So I am using Office 365 Users connector in the power app to get the display name from the emails stored in column 1.

Please help me fix this.

 

 

Categories:
  • Ngo-Cong-Tuyen Profile Picture
    91 on at

    Hello, @VivekVeera29 

    It could be help you:

     First(Office365Users.SearchUser({searchTerm:Trim(Label3.Text)})).DisplayName

    Change label3.Text to ThisItem.'Column1' 

    Best regards,

    Tuyen

  • VivekVeera29 Profile Picture
    2 on at

    Hi there, 

     

    Really appreciate your help, But the code doesn't seem to work for me. It displays the entire email now instead if display name. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard