cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

consolidate full name

Hi Power BI Community!

 

I'm looking to find all the duplicate names within a list that I created and count how many times they appear. Currently, I concatenated the names to get a full name then I just put two tables to show the names. However, I only want the name to appear once and if possible a way to see where the duplicate name is coming from.

 

This gets tricky. For example. I have a complaint form that people fill out. There are multiple complaints that they can choose from. Over 12 (each allegation has multiple sub allegations). Each complaint needs to be filled out seperately for government guidelines. The form is set up to have First, Last, First2, Last 2, etc. To keep track of the first and last names.

 

Once the list is completed, Sometimes a name appears twice because they have a complaint attached to-lets say poor Comcast response and another complaint on-lets say poor Comcast customer service. I'm trying to still see all the type of complaints for this one person. However, I'd like to select their name and see a full name once ie: Bill Gates (2)

 

Here's a visual representation of what I created thus far.

Capturenames.PNG

 

 

Is there a way to achieve my desired end result? 

1 REPLY 1
Community Support
Community Support

Hi @PowerBINewbie_1

I make test based on a simple dataset

4.png

“I'd like to select their name and see a full name once ie: Bill Gates (2)”

“I only want the name to appear once and if possible a way to see where the duplicate name is coming from”

Does this visual meet your requirement above?

3.png

Create calculated columns to achieve results above

Column = CALCULATE(COUNT(Sheet1[full name]),ALLEXCEPT(Sheet1,Sheet1[full name]))

Column 2 = CONCATENATE([full name],CONCATENATE("(",CONCATENATE([Column],")")))

 

Best Regards

Maggie

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors