有没有办法一次替换 table 中的所有空值?

Is there a way to replace all nulls in a table at once?

如果我有这样的table:

我如何一次用空格替换所有空值?

我更喜欢一种动态说明列名的解决方案,以说明更多或更少的列以及不同的列名。所以 Table.ReplaceValue(#"Changed Type",null,"",Replacer.ReplaceValue,{"Column1", "Column2", "Column3", "Column4"}) 不是我想要的。

我认为解决方案将依赖于以某种方式使用 {Table.ColumnNames(tablename here)} 之类的东西来代替 {"Column1", "Column2", "Column3", "Column4"} 但是当我尝试这样做时,我得到一个错误:

我确定我只是不理解正确的语法。非常感谢您的帮助。

我想我刚刚弄明白了。我需要去掉括号。 我改变了...

Table.ReplaceValue(#"Added Custom",null,"",Replacer.ReplaceValue,{Table.ColumnNames(#"Changed Type")})

到...

Table.ReplaceValue(#"Added Custom",null,"",Replacer.ReplaceValue,Table.ColumnNames(#"Changed Type"))

它似乎奏效了。