Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi All,
I have a calendar table ready, but I am unable to generate series or create hours invervals related to the days.
Eg.
This is my table:
However I need to have the hour/time in an hour intervals for each day like:
Can anyone help?
Solved! Go to Solution.
hello, @pamlorensampaio
let
Source = your_table,
dn = List.Buffer(List.Transform({0..23}, (x) => #duration(0, x, 0, 0))),
date_hour = Table.AddColumn(Source, "Value", (x) => List.Transform(dn, (y) => x[Date and Time Start] + y)),
expand = Table.ExpandListColumn(date_hour, "Value")
in
expand
hello, @pamlorensampaio
let
Source = your_table,
dn = List.Buffer(List.Transform({0..23}, (x) => #duration(0, x, 0, 0))),
date_hour = Table.AddColumn(Source, "Value", (x) => List.Transform(dn, (y) => x[Date and Time Start] + y)),
expand = Table.ExpandListColumn(date_hour, "Value")
in
expand
Thank you! It created another query and worked!