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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
ExceLover
Frequent Visitor

SharePoint imported data containing blank cells not treated as blank

Hi,

 

I have a dataset that is a List in SharePoint, and it has has several columns. Some columns have several rows that do not contain data. This dataset was imported into Power BI from SharePoint. In Power BI, if there are any blank cells within this dataset, why does Power BI not regard these cells as actually blank?

 

I have attempted to create new columns that return a certain value if cells are greater than or equal to 0 and another if the cells are blank, but the results are incorrect because Power BI doesn't seem to treat empty cells as blanks.

 

When copying the table in Power BI and pasting into Excel and using a simple ISBLANK logic, the empty cells return FALSE.

 

Can anyone suggest what the best solution to this is?

 

Thanks

1 REPLY 1
vicky_
Super User
Super User

It might be the type of the column - for example, if the type is a string, then blank values are treated as an empty string (""), rather than a null value. So instead of checking for ISBLANK(), you would need to check for [Field] = "".
I think this article might help: https://www.sqlbi.com/articles/blank-handling-in-dax/

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors