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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Detect errors by comparing row values in power BI

Hello,

I have data like follows:

 

learner18_1-1673002201958.png

 

Here I'm trying to detect rows in which I have errors similar to this one framed in red.

In my client file I have 

Obviously the error is in the second row but how to detect it and extract it in Power BI for correction. 

I have tried to do it as duplicate rows using DAX by counting the number of occurences of the adresse email but this does not work.

 

Can this be done whether in Dax or Power Quzery, and how?

@Greg_Deckler @BA_Pete 

2 REPLIES 2
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

In Power Query:

Multi-select (Ctrl+click) the [ClientID], [email], and [fullname] columns.

Go to the Home tab > Remove Rows > Remove Duplicates.

Select the [ClientId] column and go to the Home tab > Keep Rows > Keep Duplicates.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




johnt75
Super User
Super User

You could build table with the unique combinations of client ID, email and name like

Unique values =
SUMMARIZE ( 'Table', 'Table'[Client ID], 'Table'[Email', 'Table'[Name] )

Then build a measure

Num unique values = COUNTROWS( 'Unique values' )

Create 3 separate table visuals, one for each column of the unique values table and add the measure. Filter the tables so that they only show when the measure is greater than 1 and that should show all the entries where there are duplicates.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.