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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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