Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a table with traveling data called Travel Time and I want to add it together,
TravelTime|HH:MM
7.30
2.20
The total expected time (HH: MM) is 7.30+2.20=9.50
Thanks in advance
Solved! Go to Solution.
Hi @PowerBIData
You can calculate the sum for the column[TravelTime|HH:MM] ,and then convert the value(Decimal number) to time format .
For example :
Column = FORMAT(TIME(TRUNC('Table'[TravelTime|HH:MM],0),('Table'[TravelTime|HH:MM]-TRUNC('Table'[TravelTime|HH:MM],0))*60,0),"long time")
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PowerBIData
You can calculate the sum for the column[TravelTime|HH:MM] ,and then convert the value(Decimal number) to time format .
For example :
Column = FORMAT(TIME(TRUNC('Table'[TravelTime|HH:MM],0),('Table'[TravelTime|HH:MM]-TRUNC('Table'[TravelTime|HH:MM],0))*60,0),"long time")
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PowerBIData
I created an example, check it out.
https://drive.google.com/drive/folders/1a9P05JCCETmep3vMDdVrixXhY-uK4gp-?usp=sharing
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
@PowerBIData
If you need to convert it in Power Query: add the following Custom Column and change data type to Time.
#duration( 0, Number.IntegerDivide([Time],1) , Number.Mod([Time],1)*60, 0 )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The simplest way to do that is to convert your time columns to decimal number, make your expression, and then use a custom format string to display it as hh:mm (use hh:nn).
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
55 | |
37 | |
31 |
User | Count |
---|---|
89 | |
62 | |
61 | |
49 | |
45 |