Forum Discussion
mifrasmm
Helper I
9 years agoCalculate 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
Microsoft Employee
9 years agoHi 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
Helper I
9 years ago- Phil_Seamark9 years ago
Microsoft Employee