Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi.
I have a problem making Conditional Columns work.
Have a column with values from 0-100 and some blanks. I just want all the rows that contain a number to have text and the blanks to be empty. PowerBI won't accept making a null into a null somehow. Is there a workaround?
Thanks in advance
Solved! Go to Solution.
The cause of the problem is that you test the values if they are > 0, which won't work for nulls.
Options:
= if [Satisfaction Score] = null then null else "String" = if [Satisfaction Score] <> null then "String" else null = if [Satisfaction Score] is number then "String" else null
How exactly are you trying to do this?
I'm trying with the conditional column tool.
It just won't accept a blank as a blank.
Type null in that last box. Lowercase, no quotation marks or anything.
I've tried that and it just wont accept it. I get an error.
Show me the settings for the custom column again now that you've changed them.
It looks like this.
Is there a Change Data Type step after you add this column? When I create a column with the same settings it works fine.
No, There are no further steps. And if I change the type manually, the errors persist. I've created conditional columns before, but have never had this issue.
I can't replicate that error. Maybe add another condition that checks for null values in your satisfaction score column first?
I have tried it. Have no idea why it won't work. I just might have to duplicate the column and replace all the values.
The cause of the problem is that you test the values if they are > 0, which won't work for nulls.
Options:
= if [Satisfaction Score] = null then null else "String" = if [Satisfaction Score] <> null then "String" else null = if [Satisfaction Score] is number then "String" else null
I tested for null values first and then went on to check the values. @Anonymous's answer helped me with this. Hope this works for you guys too.
Thanks a lot! 🙂
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 39 |