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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nehakurseja
Regular Visitor

Add conditional column - How to specify blank in the value box for a text column.

I wish to set calue of 'Custom_nk' as no if the value in 'results' column is BLANK. Datatype of 'results' column is string. Please assist.

 

nehakurseja_0-1606511741874.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @nehakurseja ,

 

You may try this calculated column.

Custom_nk = IF([results]=BLANK(),"no")

8.png

 

Reference: Tutorial: Create calculated columns in Power BI Desktop

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

For blanks comparison in conditional column, you can actually write null like below - 

 

raimon_0-1611125880597.png

 

Anonymous
Not applicable

Hi @nehakurseja ,

Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.


Best Regards,
Stephen Tao

Anonymous
Not applicable

Hi @nehakurseja ,

 

You may try this calculated column.

Custom_nk = IF([results]=BLANK(),"no")

8.png

 

Reference: Tutorial: Create calculated columns in Power BI Desktop

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Nathaniel_C
Community Champion
Community Champion

Hi @nehakurseja ,

 

null.PNG
Use "" as in the picture if it is a string, null if it is number.


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




HotChilli
Super User
Super User

""

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors