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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors