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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Counting Unique Duplicate Email Addresses

Is there a way to count the number of unique email addresses in a column that are duplicated?

 

I want to get the same number as Excel when you remove duplicates; e.g. 114 duplicates were removed. 14393 records remain. 

 

I think the latter number I can get just by a DISTINCTCOUNT, but the number of duplicates being removed is tricky as there are 2 of some, and more of others so can't do a simple divide. 

 

Help!

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

If you need distinct count of duplicated rows, try a measure

Measure = COUNTROWS(
FILTER(
SUMMARIZE('Table', 'Table'[Column1], "Count", COUNT('Table'[Column1])),
[Count] > 1
)
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

answers above seems helpful.

If your problem is sloved, please feel free to accept any of them as a solution so to close the case.

If not, please tell me other details to explore this problem.

 

Best Regards

Maggie

az38
Community Champion
Community Champion

Hi @Anonymous 

If you need distinct count of duplicated rows, try a measure

Measure = COUNTROWS(
FILTER(
SUMMARIZE('Table', 'Table'[Column1], "Count", COUNT('Table'[Column1])),
[Count] > 1
)
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
ryan_mayu
Super User
Super User

@Anonymous 

you can use countrows() - distintcount(). Then the result is the duplicated values will be removed.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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