Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let
- Source = {0..23},
- #"Converted to Table" = Table.FromList(
- Source, Splitter.SplitByNothing(),
- {"Index"}, null, ExtraValues.Error
- ),
- #"Changed Type" = Table.TransformColumnTypes(
- #"Converted to Table",
- {{"Index", Int64.Type}}
- ),
- #"Added Custom" = Table.AddColumn(
- #"Changed Type", "Hour",
- each #time([Index], 0, 0),
- Time.Type
- )
- in
- #"Added Custom"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement