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.
How to convert date time to decimal so that the time can be presented on a trendline
I have this column (Completion Time):
I would like to see as a result: 5.58 for exampl if the completion time is 5:58 or some kind of alternative that allows me to use this field to presnet in a trendline completion time by month and calculate YTD completion time etc.
I tried using convert but I do not like the result I see:
Thanks!
thanks for feedback. Completion Time is just a column and not a measure and therefore power bi doesnt accept it in the formula..do you have another solution?
Hi @Anonymous ,
You could create a column as below:-
Column = round(FORMAT('Table (6)'[Completion tme],"HH")&"."&FORMAT('Table (6)'[Completion tme],"NN"),2)
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi, I managed to create a new measure, however it looks like text. How can I convert it to double (round can not work as it is text):
@Anonymous Please create a column only. I have updated the code as per your table name. Please try this:-
Column =
ROUND (
FORMAT ( 'Daily Issues'[Completion_time], "HH" ) & "."
& FORMAT ( 'Daily Issues'[Completion_time], "NN" ),
2
)
Note:- I have considered the completion_time as column only.
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
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.