List.Durations
Syntax
List.Durations(start as duration, count as number, step as duration) as list
About
Returns a list of count
duration
values, starting at start
and incremented by the given duration
step
.
Example 1
Create a list of 5 values starting 1 hour and incrementing by an hour.
Usage
List.Durations(#duration(0, 1, 0, 0), 5, #duration(0, 1, 0, 0))
Output
{
#duration(0, 1, 0, 0),
#duration(0, 2, 0, 0),
#duration(0, 3, 0, 0),
#duration(0, 4, 0, 0),
#duration(0, 5, 0, 0)
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for