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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

[Analysing Duplicate Values] Comparing multiple rows for similar values across multiple columns

I am doing analysis of duplicate entries for a survey. I want to analyse the duplicates to determine which one to keep before deleting the rest of the entries.

 

I was able to learn how to group the entries by the unique staff ID, and using the count row function i got this screen below:

 

pbicylim_1-1610873468070.png

 

My next step was to click the individual entries (example: A0612) to see all the duplicate entries.  In the example below, I have one unique staff ID with 8 entries. This could have been because the staff submitted multiple survey responses.

 

pbicylim_0-1610873441704.png

 

Question:

1. I have over 30 columns. How do i quickly analyse the similarities of row entries? My initial thought was to unpivot the other columns, and compare the values for each attribute column headers. But is there an easier method than this?

 

2. After I have decided which duplicates to delete, how do i ensure these changes get reflected in the master sheet? The long method would be for me to manually delete each row one by one. Is there a faster way around this? 

1 REPLY 1
artemus
Microsoft Employee
Microsoft Employee

You can use Table.FuzzyGroup to accomplish this. This function will group similar column values together.

 

Start by unpivoting the data into attribute/value pairs (Question/value)

Then do a group on all the columns with a count rows

Finally, replace the Table.Group function with Table.FuzzyGroup function. 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.