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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Super User
Super User

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

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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