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
Gherty0011
New Member

How to add whole number to time and then aggregate to find total?

Gherty0011_1-1662219491841.png

I run time for a machine show in the table via columns A to D. I need to find and add columns F to H. Data file link.

 

1) How do I add the time in column C (data type is time) with column D (data type whole number) to get F? I show an example in cell J3 what calculation where I simply just add to the time

2) How do I find column G (example: C3-F2) to find prep time?

3) How do I find column H where this is a running total for that particular project? I highlighted the rows in yellow to show the end of the project and in the last instance it must do a running total and include the value for task time to final total time used for the project.

 

I wasn't sure how to solve problems 1 and 2 and was thinking once I do find those values I could use a group by for each project but not sure how to also incorporate for the last two to add the task time to find the total.

 

Any help would be greatly appreciated and thank you.

1 REPLY 1
KT_Bsmart2gethe
Impactful Individual
Impactful Individual

Hi @Gherty0011 ,

 

To add minutes to time, you can use [Execution Time] + #duration(0,0,[Task Time],0).

 

For cumulative time by project, you can refer to link below:

https://community.powerbi.com/t5/Power-Query/Calculate-not-accumulated-amounts-from-accumulated-data...

 

Regards

KT

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 Kudoed Authors