Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Change Column (Hour, minutes) to Minutes

Hello Everyone!

 

I need to change a column wich is in the next format: 1:02:03 (hh:mm:ss) and I want to know how many minutes are (62 min)

 

christianyepez2_0-1619193457168.png

I will appreciate some help!

 

Christian 

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Anonymous 
Just create a simple calcuate column Column:

Minute = HOUR([Time])*60+MINUTE([Time])
 
Or create a sutome column in Power Query:
Time.Hour([Time])*60 + Time.Minute([Time])
 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@Anonymous 
Just create a simple calcuate column Column:

Minute = HOUR([Time])*60+MINUTE([Time])
 
Or create a sutome column in Power Query:
Time.Hour([Time])*60 + Time.Minute([Time])
 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Minutes = 
Var _Hours = FORMAT('Table'[time],"h")*60
Var _Minutes = FORMAT('Table'[time],"n")
Var _second = ROUND(FORMAT('Table'[time],"s")/60,0)

return
_Hours+_Minutes+_second
jthomson
Solution Sage
Solution Sage

Split it by a delimiter and make a custom column that does first column x60 plus the second column?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.