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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Frequent Visitor

Power BI count email addresses where some are duplicate and some are blank

Hi all,

It would be awesome if I could get some help with this as I'm quite new to Power BI. I'm trying to count email addresses if they are not blank/null but I don't know how to get the correct result.

number      email

My measure is:

Count Email = COUNTX (table1[email])
This results in a total of 2 email addresses but I need it to be 4. I'm not sure why this is so hard for me haha. Any help is greatly appreciated if possible. Thanks!
Super User
Super User

Hi @GettingStarted try: 

Count non blank rrows= 
        Sheet19[   email]<>"null"
Adjust Sheet 19 to your table name. I hope this help

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

Proud to be a Super User!

Thanks for your help, I really appreciate it.
It still doesn't seem to be working as it's only counting the unique value.


Total Emails = CALCULATE(
        table[email] <>"null"

returns a value of 1 instead of 3. It's weird so maybe there is something I'm overlooking...

Hi @GettingStarted 
Even the COUNTX approach should work. Definitely there is is something that is being overlooked.

Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors