This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I have a column that has blank cells, which register as null, and cells with the text string "null".
The standard course of action is to replace values with Value To Find = "null" and Replace With = "Unknown" (in my case). This replaces the null blanks, but not the cells containing the "null" text string. Right clicking on those cells and directly selecting replace values, prefilling the Value To Find with null, doesn't work either.
I've attached screenshots of what the cells look like before and after appling replace values. You can see (null) is gone, but the "null" string cells remain.
Any help would be greatly appreciated. Thank you.
Before
After
Solved! Go to Solution.
A little bit of experimentation should get you there.
I suggest adding the Replace Values for the null value ( using the interface) and then editing the M code in the formula bar or Advanced editor to be something like:
Table.ReplaceValue(#"Changed Type","null"......
A little bit of experimentation should get you there.
I suggest adding the Replace Values for the null value ( using the interface) and then editing the M code in the formula bar or Advanced editor to be something like:
Table.ReplaceValue(#"Changed Type","null"......
Thank you HotChilli. Editing the M code from null to "null" did the trick!
Didn't even think of checking the advanced editor. You nailed it, needed to put quotes around null to distinguish it as a string as opposed to the usual null. Thank you!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 26 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 50 | |
| 25 | |
| 20 | |
| 20 |