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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LC0804
New Member

How to add and subtract time in Power BI

Hello to all,

 

I would like to know if it's possible to display time (format hh:nn:ss) in a matrix or a table under Power BI desktop.

 

Indeed, when I add in a table or a matrix my column "Average duration" in the format "Hour" as quoted previously I can't make any calculation and the totals displayed automatically in the matrix indicates me only the smallest or the longest duration.

 

I would like to know if it's then also possible to calculate average times or even add and subtract them by keeping them in hh:nn:ss format

 

Thank you in advance for your answers.

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

you can add or subtract time to a date column using calculated column and the TIME function e.g:

 

Column = 'Table (6)'[Date]+TIME(1,0,0)  - adds 1 hour
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors