Forum Discussion
sirros_iot
8 years agoHelper III
Convert time to seconds
Hello all! I have a column in the hour format( HH:mm: ss), and I want to show the average of this column, but, I'm connected by DirectQuery, so, no data modeling. I would like to solve this iss...
- 8 years ago
Give this a shot
Seconds_Measure = VAR myvalue = SELECTEDVALUE ( Table1[Column] ) RETURN ( myvalue - TRUNC ( myvalue ) ) * 86400
Zubair_Muhammad
8 years agoCommunity Champion
Give this a shot
Seconds_Measure =
VAR myvalue =
SELECTEDVALUE ( Table1[Column] )
RETURN
( myvalue - TRUNC ( myvalue ) )
* 86400Doknights
3 years agoFrequent Visitor
Hello, Can you explain this formula a bit more to me?
The "myvalue" is that part of the formula or some custom information that has to be entered?