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.
Hi
I have a time field. I want to convert the time to a number like the below
22:01pm >22.01
15:00pm > 15.00
9:06am > 9.06
Can anyone help
Thanks
Solved! Go to Solution.
@nsaray ,
if field is of time type
a new column
= format([time], "HH.MM")
or
hour([Time]) *100 + minute([Time])
Thank you!
I had to update it to this and it worked, so thanks for the suggestion
(hour([Time]) *100 + minute([Time]))/100
This is the correct answer
Time.Hour([Duration])+Time.Minute([Duration])/60
if you have 01:30:00
previous solution would give you 1.3 hours
my solution gives 1.5 hours
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.