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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.