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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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