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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
wchiu
Frequent Visitor

Power bi cannot distinguish zero and null

Hi Guys, 

 

I have a column that have value null,0,1,2,3,4,5   in a SQL table. 

When I am using this column in Power BI , I can see the filter plane have value (blank,0,1,2,3,4,5). 

However, when I filtered this column to zero , Power BI will always return the union result 0 and blank. 

 

I have done some research on this topic and I know Power BI had some issue with zero , blank and null. 

Moeroever, I have lots of column in similar situation ,I don't really want to add any extra column or measure to enable this basic feature. 

Do you guys have any idea?

 

1 ACCEPTED SOLUTION

@wchiu , Can add filter once more and remove is blank and check if it works

Share with Power BI Enthusiasts: 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

4 REPLIES 4
amitchandak
Super User
Super User

@wchiu , Not very clear.

 

In DAX you can check isblank([Column/meausre])  for blank

 

in Power query  you can check

if [col] =null then

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Let me assume like this, I have a table like below 

wchiu_0-1618546993993.png

When I filtered this value to 0 , blank is also present in the value 

wchiu_1-1618547050779.png


I only want 0 appears in my table.....

 

@wchiu , Can add filter once more and remove is blank and check if it works

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks mate! It works!!!!!!!!!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors