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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Empty Values not appearing as (Blank)

Hi all,

 

I'm realtively new to Power BI, and I've been attempting to create a mailing list for clients - I've created a measure that priotises main emails and alternate emails based on their main entity status to ensure.

 

Primary Email =
SWITCH (
TRUE (),
Clients[Contacts.Contact.IsPrimary] = "Yes", IF (
ISBLANK ( Clients[Contacts.Contact.Email] ),
Clients[Email],
Clients[Contacts.Contact.Email]
),
Clients[Contacts.Contact.IsPrimary] = "No", IF (
ISBLANK ( Clients[Email] ),
Clients[Contacts.Contact.Email],
Clients[Email]
),
ISBLANK ( Clients[Contacts.Contact.IsPrimary] ), IF (
ISBLANK ( Clients[Contacts.Contact.Email] ),
Clients[Email],
Clients[Contacts.Contact.Email]
),
BLANK()
)

 

However, I'm encountering an issue where empty values are not appearing as blanks. These values are not spaces either, I've attempted to eliminate any kind of possibility of this happening, however I still can't seem to avoid this issue and I'm losing more emails than I'd like to (none).

PBI Issue1.png

PBI Filter.JPG

Any ideas as to what could cause this?

 

Thank you!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

You may have to handle it

if(Clients[Contacts.Contact.Email]="",blank(),Clients[Contacts.Contact.Email])

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
dax
Community Support
Community Support

Hi @Anonymous , 

I am not clear about your problem, as I know, when there is blank in rows, it will show (blank)  as blank option in power query filter and show blank in design filter, this is default. So what is your problem now? If possible, could you please inform me more detailed information(such as your expected output and your sample data (by OneDrive for Business))? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

You may have to handle it

if(Clients[Contacts.Contact.Email]="",blank(),Clients[Contacts.Contact.Email])

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.