Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 issue using just one measure, but I'm having problems with this time format, I can't even convert it into seconds.
Any idea?
Thanks
Solved! Go to Solution.
Give this a shot
Seconds_Measure = VAR myvalue = SELECTEDVALUE ( Table1[Column] ) RETURN ( myvalue - TRUNC ( myvalue ) ) * 86400
Give this a shot
Seconds_Measure = VAR myvalue = SELECTEDVALUE ( Table1[Column] ) RETURN ( myvalue - TRUNC ( myvalue ) ) * 86400
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?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.