I want to replace all the cells that contain “null” to “unspecified” in my table. I followed an instructional video in creating a new column in query editor and replace “null” with “unspecified”, but the new column still has “null”. I used the query below:
if 'Incidents' [Province] = null then "Unspecified" else 'Incidents' [Province]
I don’t know what I’m missing here. Can anyone help?
Oddly I could reproduce similar behaviour. It turned out that if, in my source data, the field is blank instead of showing null, I can replace as expected. I tried several other options, but it would seem that null as such is not the same as null in the query editor.
Thanks to the contributors of this post. Due to the length by which this post has been active, we are tagging it as Solved. For further questions related to this post, please make a new thread.