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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Ashish_D
Frequent Visitor

Converting decimal minutes to decimal hours & minutes

I am looking for help on converting Decimal time (in mins) to hours.  I have attached print screen of the data set and the

output done in excel, trying to figire out the same in power bi done in excel, trying to figire out the same in power bidecimal time.jpg

3 REPLIES 3
tamerj1
Super User
Super User

@Ashish_D 
If you are looking to convert to time format, you can create "New Column"


Total Time = TIME ( 0, 0, Table[Total Time_Minutes] * 60 )


If you just want to convert to hours then


Total Time = DIVIDE ( Table[Total Time_Minutes], 60, 0 )

teh data i am picking this from is in exel and when i use teh above formula it doesnt work , it do TotalTime_Hrs=Divide(Activity Name[TotalTime_Mins],60,0)   . it throws an exception.  "Activity Name" is the sheet name in the file i am refering to

@Ashish_D 
Can you please share a screenshot of the table in Power BI? And what is the name of the table?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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