Forum Discussion

whazaaa's avatar
whazaaa
New Member
2 years ago
Solved

Date table with seconds

Hello,

 

I'm trying to create a table that includes all the dates, hours, minutes and seconds between two set dates. Currently I have this in the DAX : 

DateTable =
ADDCOLUMNS(
        DATESBETWEEN('Date',01/09/2022,01/09/2024),
        TIME(0, 0, 1)
    ,
    "Date",
    FORMAT([Value], "MM/DD/YYYY"),
    "Time",
    FORMAT([Value], "HH:mm:ss")
)

5 Replies