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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
v-juanli-msft
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.