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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Combine like Names

Hi,

I am newer to PowerBI and am needing some help getting names combined. I have a large list of names where some have the middle initial and some don't some have a space and a comma some just a comma and am needing a quick way to combine these. Almost all of the rows are riddled with dirty data can someone help me with how to clean it up? Thanks so much in advance!

Igotthepowerbi1_0-1682617415646.png

 

1 REPLY 1
rsbin
Super User
Super User

@Anonymous ,

That is some ugly data you have been dealt.  This will take some work, but I think I can get you started.

First thing I would do is in Power Query, copy your Provider column.  Then on this new column use the Split by Delimiter function using the comma "," as your delimiter.

rsbin_0-1682618804605.png

Then you may want to split your new columns again but this time using the space as your delimiter.

Then using Power Query or DAX, you can use the multitude of Text functions that are available to further clean the data or combine first and last names.

This will be much trial and error, but at least I hope this gets you started.

Regards,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.