Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Replace a value with null/blank

Hello   I have a column that contains some values with the text "text". I want to replace these values with the default 'blank' value of PowerBI.   I clicked to replace and I left the 'replace wi...
  • parry2k's avatar
    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.

  • v-lionel-msft's avatar
    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 Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.