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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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