We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf5cda2 commit 6c86227Copy full SHA for 6c86227
Miscellaneous/Scripts/DAX/Calendar_Hours.dax
@@ -0,0 +1,8 @@
1
+Calendar Hours =
2
+VAR _start_time = TIME(0, 0, 0)
3
+VAR _end_time = TIME(23, 0, 0)
4
+VAR _duration = TIME(1, 0, 0)
5
+VAR _hours = SELECTCOLUMNS (GENERATESERIES(_start_time, _end_time, _duration), "Hours", [Value] )
6
+
7
+RETURN
8
+_hours
0 commit comments