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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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