Forum Discussion
mifrasmm
9 years agoHelper I
Calculate Time to Current Time ( DAX )
Hi I need to create DAX measurement to calculate the timing ( Timer) from Issued time to current time.
- 9 years ago
Hi mifrasmm
The DATEDIFF function will return a number based on the difference between two times in your interval of choice. In the below example it returns the number of Seconds, but you can chose MINUTES, HOURS, DAYS etc.
NOW() returns the current time to the second.
Seconds = DATEDIFF([Column1],NOW(),SECOND)
Phil_Seamark
9 years agoMicrosoft Employee
Hi mifrasmm
The DATEDIFF function will return a number based on the difference between two times in your interval of choice. In the below example it returns the number of Seconds, but you can chose MINUTES, HOURS, DAYS etc.
NOW() returns the current time to the second.
Seconds = DATEDIFF([Column1],NOW(),SECOND)
mifrasmm
9 years agoHelper I
- Phil_Seamark9 years agoMicrosoft Employee