问题:为成员分组,每组4人(重复),每人一个编号(循环)
let
源 = Excel.CurrentWorkbook(){[Name="表1"]}[Content],
重复 = Table.TransformColumns(Table.AddIndexColumn(源, "重复", 4), {"重复", each Number.RoundDown(_ / 4), type number}),
循环 = Table.TransformColumns(Table.AddIndexColumn(重复, "循环", 4), {"循环", each Number.Mod(_ , 4) + 1, type number})
in
循环
标签:Power,重复,number,循环,Table,序列,Query,AddIndexColumn From: https://www.cnblogs.com/officeplayer/p/16906430.html