问题:如下图
let
源 = Excel.CurrentWorkbook(){[Name="表1"]}[Content],
已添加条件列 = Table.AddColumn(源, "自定义", each if [列1] = "A" then [列2] else null),
向下填充 = Table.FillDown(已添加条件列,{"自定义"}),
已透视列 = Table.Pivot(向下填充, List.Distinct(向下填充[自定义]), "自定义", "列2")
in
已透视列
标签:自定义,填充,将列,按列,Power,Table From: https://www.cnblogs.com/officeplayer/p/17488124.html