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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
AMBP73
Helper I
Helper I

Dax to indicate "No" for blanks.

Hello everyone.

I have a column that has the values "yes", "Not Reviewed", and blanks. I would like tge blanks to return "no". Could anyone please assist with the correct measure. Your assistance is appreciated 🙂

5 REPLIES 5
AMBP73
Helper I
Helper I

Many thanks ChiragGarg2512

mlsx4
Memorable Member
Memorable Member

Hi @AMBP73 

 

You can do:

Calculated_Column= IF(ISBLANK('YourTable'[Column]), "No", 'YourTable'[YourColumn])

Be aware, that you are calculating a new column. 

You can also use PowerQuery editor and replace directly nulls by No

Many thanks for both of the tips. 🙂

mlsx4
Memorable Member
Memorable Member

I'm glad it works. 

Don't forget to mark as solved the topic for other users which may need it

ChiragGarg2512
Super User
Super User

Try this measure:

measure = if(ISBLANK('table'[column]), "No", 'table'[column])

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 MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.