Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

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.

  • ChattyLinkin Profile Picture
    51 on at
    Re: Get first letter of string

    Thank you!

  • Verified answer
    Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: Get first letter of string

    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
    Re: Get first letter of string

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

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: Get first letter of string

    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
    Re: Get first letter of string

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

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: Get first letter of string

    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?  

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics