cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bbsin
Post Prodigy
Post Prodigy

Show First Name only?

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

1 ACCEPTED SOLUTION

Accepted Solutions
Ethan_R
Responsive Resident
Responsive Resident

Hi @bbsin ,

You can try this in a Label

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

 

Hope this helped.

View solution in original post

3 REPLIES 3
v-albai-msft
Community Support
Community Support

Hi @bbsin ,

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

 

 

Office365Users.MyProfile().GivenName

 

 

 

Best regards,

Allen

Ethan_R
Responsive Resident
Responsive Resident

Hi @bbsin ,

You can try this in a Label

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

 

Hope this helped.

View solution in original post

Thanks @Ethan_R 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,060)