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 / Show First Name only?
Power Apps
Answered

Show First Name only?

(2) ShareShare
ReportReport
Posted on by 1,994

Hi

 

I have a label - User().FullName  ; how to just show First name?

 

is that right?

Trim(Last(FirstN(Split(User().FullName,',"),2)).Result)


Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @bbsin ,

    I think you can achieve this using the Office 365 Users connection.

     

     

    Office365Users.MyProfile().GivenName

     

     

     

    Best regards,

    Allen

  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @bbsin ,

    You can try this in a Label

    First(Split(User().FullName, " ").Result).Result

     

    Hope this helped.

  • bbsin Profile Picture
    1,994 on at

    Thanks @Ethan_R 

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks, used this in combination with am/pm to create a greeting.


    If(Text(Now(),"am/pm")= "AM", "Good Morning " & First(Split(User().FullName," ").Result).Result, "Good Afternoon " & First(Split(User().FullName," ").Result).Result)

  • Verified answer
    bbsin Profile Picture
    1,994 on at

    Hi 

     

    Thank you 

  • ED150874 Profile Picture
    13 on at

    Hello, Thanks but i have this error and i don't understand why.

    ED150874_0-1687102270623.png

     

  • Narissa Profile Picture
    32 on at

    You could try

    First(Split(User().FullName, " ")).Value

     

  • karma4598 Profile Picture
    5 on at

    That solution worked, thank you!

  • Passion Profile Picture
    4 on at

    This one did the trick for me!

  • JB-10090948-0 Profile Picture
    2 on at
    How about names like "John Michael de los Santos"?

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 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard