powerquery分组聚合、字符拼接

2020年7月8日13:08:04 发表评论 705 views

let

源 = Excel.CurrentWorkbook(){[Name="表1"]}[Content],

fx=(x as list)=>Text.Combine(List.Transform(x,each Text.From(_)),","),

data=Table.Group(源,"字母",{{"次数",each List.Count([数字])},{"数字合并",each fx([数字])}})

in

data

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: