Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Hello,
I have data like follows:
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?
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
Proud to be a Datanaut!
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.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |