从 PowerQuery 的列表中删除 space 和空值

Remove space and nulls from list in PowerQuery

有没有办法用 (each _<> "" and _ <> null)

之类的东西替换这个 (List.RemoveNulls(_))

我试过了,没用

Table.RenameColumns(
    Table.CombineColumns(BlanksToNull,mergeHeaders[List Of Headers For Concatenation], each Combiner.CombineTextByDelimiter("|", QuoteStyle.None)(List.RemoveNulls(_)),"Merged")
,{{"Merged",newMergedHeader}})

谢谢

改一下怎么样

Combiner.CombineTextByDelimiter("|", QuoteStyle.None)(List.RemoveNulls(_)),"Merged")

Combiner.CombineTextByDelimiter("|", QuoteStyle.None)(List.Difference(_, {" ",null})),"Merged")