Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Removing middle initials from a text name field

I have a name column, some people have a middle initial, some do not. 

 

The format is [SURNAMES], [FIRSTNAMES] [MIDDLE INITIAL]

For example SMITH, JOSEPH or ADAMS, GOMEZ P

Some people have two firstnames or two surnames for example THORNTON, BILLY BOB or DAY-LEWIS, DANIEL

I need to remove the middle initial only. So ADAMS, GOMEZ P would become ADAMS, GOMEZ. My other examples would remain the same. 

I have no idea if this is possible. Any ideas?

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous,

Are there any particular values or conditions in this field that can be used to remark the target records?
If not, I think you may need to use AI or machine learning features to recognize and analyze these recorded first.
Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Anyone...?

Split the column in PQ into three column First Name ,Middle Name and Last name if you don't need the middle name column just remove this, approach i got in my mind


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



smpa01
Super User
Super User

@Anonymous  what differentiates  ADAMS, GOMEZ P from THORNTON, BILLY BOB

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

@smpa01 it's complex in that I require to do a join on this name column. The table to which i'm joining omits middle initials. It would keep BILLY BOB but it wouldn't keep BILLY B. Totally a HR thing, nothing logical my end which I can control, other than to try and get the two tables married up before the join. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors