Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |