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

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.