Forum Discussion
Replace a value with null/blank
- 6 years ago
Anonymous in power query when you are using replace, use null word not space in the replace with and that will do it.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- 6 years ago
Hi Anonymous ,
As parry2k said, we use the ‘null’ keyword in the M code to refer to the null
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous in power query when you are using replace, use null word not space in the replace with and that will do it.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- SPT9 months agoNew Member
I have a similar issue but i want to do it the other way round. I have null values and i want to replace these with "unallocated.
this is what i want.
I've tried
= Table.ReplaceValue(#"Changed Type","","unallocated",Replacer.ReplaceValue,{"Principal Truck"})
and I've tried creating a new colum but this doesnt seem to work?
Any ideas please?
- Ashish_Mathur9 months agoSuper User
Hi,
Select the column, right click and select Replace Values.