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

How to check blank and empty value in dax

Hi,

I am using below DAX

Return Type =
var vTxt = IF(ISEMPTY(CALCULATETABLE(SAVO_QBR_TEMP, SAVO_QBR_TEMP[Return_Type]<>BLANK()))=False, SAVO_QBR_TEMP[Return_Type], "NULL")
return IF(vTxt<>"NULL" && not ISBLANK(SAVO_QBR_TEMP[Return_Type]), SAVO_QBR_TEMP[Return_Type])
and My values are showing as below:
 
but it does not working. Please help in this case.Blank Return Type.PNG
 

 

 

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous 
Please check this.
I didn't get your DAX expression. I guess you are creating a measure to check the functionality. Try creating a calculated column.
I created some dummy data with some progress column values as blank.
I created a calculated column like below,

BLANKCHECK = IF(ISBLANK(Dummy[Progress]),0,Dummy[Progress])
Here is what I get,
image.png
I have replaced the blank values with 0 in the BLANKCHECK column.
Hope this helps!!
 
Thanks,
Ani

View solution in original post

3 REPLIES 3
Ani1991
Resolver III
Resolver III

hI @Anonymous 
Try using the function ISBLANK().

 

Thanks.

Ani

Anonymous
Not applicable

Hi,

I am doing the below DAX and it is not working properly:

IF(NOT ISBLANK('SAVO_QBR_TEMP'[Return_Type]) ,'SAVO_QBR_TEMP'[Return_Type])

Please advise what to do now?

 

Hi @Anonymous 
Please check this.
I didn't get your DAX expression. I guess you are creating a measure to check the functionality. Try creating a calculated column.
I created some dummy data with some progress column values as blank.
I created a calculated column like below,

BLANKCHECK = IF(ISBLANK(Dummy[Progress]),0,Dummy[Progress])
Here is what I get,
image.png
I have replaced the blank values with 0 in the BLANKCHECK column.
Hope this helps!!
 
Thanks,
Ani

Helpful resources

Announcements
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.