Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello - I am new to Power BI.
I have been trying to convert HH:MM into the text format i.e hours and minutes
Column name (Average_Hours HH:MM) - data type: Text
00:40
01:22
I would like to convert this data into the following:
0 hours 40 mins
1 hour 22 mins
Any Dax formula available? Thank you!
Solved! Go to Solution.
@ailiyasaeed Maybe:
Column =
VAR __Hours = LEFT([Average_Hours HH:MM],2)+0
VAR __Minutes = RIGHT([Average_Hours HH:MM],2)+0
RETURN
__Hours & " hours " & __Minutes & " mins"
@ailiyasaeed Maybe:
Column =
VAR __Hours = LEFT([Average_Hours HH:MM],2)+0
VAR __Minutes = RIGHT([Average_Hours HH:MM],2)+0
RETURN
__Hours & " hours " & __Minutes & " mins"
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.