只要重复的都删除(Power Query)

问题:数据中存在重复的都删除

let
    源 = Excel.CurrentWorkbook(){[Name="表1"]}[Content],
    分组的行 = Table.Group(源, {"数据"}, {"计数", each Table.RowCount(_)}),
    筛选的行 = Table.SelectRows(分组的行, each ([计数] = 1)),
    删除的列 = Table.RemoveColumns(筛选的行,{"计数"})
in
    删除的列
posted @ 2024-01-14 15:53  熬肥妖  阅读(54)  评论(0编辑  收藏  举报