Forum Discussion
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.
- Anonymous5 years ago
Hi nehakurseja ,
You may try this calculated column.
Custom_nk = IF([results]=BLANK(),"no")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.
5 Replies
- HotChilli
Community Champion
""
- Nathaniel_C
Community Champion
Hi nehakurseja ,
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 - AnonymousNot applicable
Hi nehakurseja ,
You may try this calculated column.
Custom_nk = IF([results]=BLANK(),"no")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.
- AnonymousNot 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 - AnonymousNot applicable
For blanks comparison in conditional column, you can actually write null like below -