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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.