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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
AustinAshfords
Frequent Visitor

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])

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
dax
Community Support
Community Support

Hi @AustinAshfords , 

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])

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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