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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get first letter of st...
Power Apps
Unanswered

Get first letter of string

(0) ShareShare
ReportReport
Posted on by 51

Hi all, 

 

I am trying to get a person's initials from a middle name column to put into a full name column. I already have their first and last names in the full name column, but I can't seem to figure out how to get the first initial of their middle name. Any help would be greatly appreciated.

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @ChattyLinkin ,

    Where are you trying to do this?  Is it in a calculated column in Dataverse, Power FX formula Dataverse column, Power Automate flow, Power App?  

  • ChattyLinkin Profile Picture
    51 on at

    Yes, my full name column in my dataverse table is a calculated column

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @ChattyLinkin ,

    Don't think that is supported within a calculated column, have you tried to utilize formula column to do something like this?

    Concatenate('First Name',If(Len('Middle Name')>0," ",""),'Middle Name',If(Len('Last Name')>0," ",""),'Last Name')
    I verified this worked with a middle name or no middle name on the Contact entity:
    dpoggemann_0-1695905687937.png

     

  • ChattyLinkin Profile Picture
    51 on at

    That works for full name, but if I only wanted the first letter of the middle name how would I go about that? Thanks!

  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    ahh, sorry about that, here you go:

    Concatenate('First Name',If(Len('Middle Name')>0," ",""),Left('Middle Name',1),If(Len('Last Name')>0," ",""),'Last Name')
  • ChattyLinkin Profile Picture
    51 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard