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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

ISBLANK() not working as expected?

Hi,

 

I'd like to add condition on my report only if the content of a column table in not empty/null/blank

 

I tried to do it with a measure, but I couldn't add it as a report filter, then I went with adding a new column in my table (in Data Editor) to check if the column is blank, using the ISBLANK() function

 

As you can see here, the ISBLANK() function return false even if there is no value (empty string)

 

2020-02-24 13_39_28-Cerberus Testing KPI - Power BI Desktop.png

 

My isGroup1Blank column is defined with : 

isGroup1Blank = ISBLANK('cerberus campaign'[Group1])
1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

First, BLANK value and "" is not always the same

Second, as you use measure, not a column it could return unexpected result because of row-context

try a caclulated column like yours above or more sophisticated option

= IF(ISBLANK('cerberus campaign'[Group1]) || 'cerberus campaign'[Group1] = "", true(), false())

 


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

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @Anonymous 

First, BLANK value and "" is not always the same

Second, as you use measure, not a column it could return unexpected result because of row-context

try a caclulated column like yours above or more sophisticated option

= IF(ISBLANK('cerberus campaign'[Group1]) || 'cerberus campaign'[Group1] = "", true(), false())

 


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

Hi @az38 !

 

That worked for me!

 

Thanks a lot

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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