好友
阅读权限20
听众
最后登录1970-1-1
|
楼主|
cqwcns
发表于 2022-8-24 08:32
分享另一种实现方法:
let
源 = #table({"持续时间"},{{#duration(17, 19, 11, 32)},{#duration(16, 8, 35, 5)},{#duration(15, 7, 32, 33)},{#duration(12, 0, 25, 8)},{#duration(1, 4, 44, 42)},{#duration(10, 15, 46, 11)},{#duration(11, 17, 14, 39)},{#duration(15, 9, 39, 15)},{#duration(20, 13, 38, 18)},{#duration(4, 17, 18, 24)},{#duration(6, 2, 22, 19)},{#duration(15, 16, 13, 24)},{#duration(9, 15, 41, 10)},{#duration(7, 22, 6, 23)},{#duration(3, 12, 54, 14)},{#duration(19, 19, 47, 59)},{#duration(17, 11, 31, 19)},{#duration(6, 17, 33, 21)},{#duration(4, 12, 46, 7)},{#duration(11, 5, 36, 21)},{#duration(12, 5, 3, 58)},{#duration(19, 1, 1, 46)},{#duration(20, 19, 5, 24)},{#duration(16, 0, 7, 44)},{#duration(5, 4, 58, 16)},{#duration(18, 20, 29, 20)},{#duration(16, 18, 39, 42)},{#duration(12, 8, 20, 43)},{#duration(17, 21, 35, 36)},{#duration(10, 23, 22, 58)}}),
筛选时间 = Table.SelectRows(源,each [持续时间] > #duration(10,0,0,0)),
已添加自定义 = Table.TransformColumns(筛选时间, {"持续时间", each Text.Format("#{0}天#{1}时#{2}分#{3}秒",Text.SplitAny(Text.From(_),".:"))})
in
已添加自定义 |
|