美文网首页
Powerquery合并相同项Text.Combine

Powerquery合并相同项Text.Combine

作者: 叶知行 | 来源:发表于2017-06-19 08:40 被阅读146次
  • 原始数据
原始数据
  • 结果
结果
  • 操作步骤1:分组
分组1 分组结果
  • 操作步骤2:更改公式
  • 原公式
= Table.Group(更改的类型, {"编号"}, {{"客户名称", each List.Sum([客户名称]), type text}, {"平均公里数", each List.Average([公里数]), type number}})
  • 更改后的公式
= Table.Group(更改的类型, {"编号"}, {{"客户名称", each Text.Combine([客户名称], "/")}, {"平均公里数", each List.Average([公里数]), type number}})
  • 更改部分
{"客户名称", each List.Sum([客户名称]), type text}
改
{"客户名称", each Text.Combine([客户名称], "/")}
  • 最终结果
最终结果

相关文章

网友评论

      本文标题:Powerquery合并相同项Text.Combine

      本文链接:https://www.haomeiwen.com/subject/hsfgqxtx.html