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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mscopuser
Frequent Visitor

Total Time per day for use with Deneb

I have this table (see below). From that table I want to have calculation of total time per day.


Secondly would it help full I could get a calculated coloum with the total time per day and projects.
I suppose that could be alterd to to do for sub project.  


(Please keep in mind that the time and date should be a date and time respectifly. As I will use this deneb)

 

I have tried chat gpt but no luck and of course google. 


Could you please help?

For context I am trying to use it with this concept:
2023 Week 06 | Power BI: Create a Calendar Heatmap – Workout Wednesday

 

Team memberClientProjectsSub-projectsNotesStart dateStart timeEnd dateEnd timeDurationBilled
Hans AndersLearn JapaneseListeningJapanesePod101 17.07.202408:1417.07.202408:430:28:47No
Hans AndersLearn JapaneseListeningJapanesePod101 16.07.202407:4816.07.202408:591:10:58No
Hans AndersLearn JapaneseListeningJapanesePod101 15.07.202419:2715.07.202419:400:12:58No
Hans AndersLearn JapaneseListeningJapanesePod101 11.07.202421:3111.07.202421:490:17:23No
Hans AndersLearn JapaneseListeningJapanesePod101 07.07.202421:5607.07.202422:290:32:31No
Hans AndersLearn JapaneseListeningJapanesePod101 07.07.202413:1207.07.202413:360:24:12No
Hans AndersLearn JapaneseListeningJapanesePod101 06.07.202419:4206.07.202420:130:30:31No
Hans AndersLearn JapaneseListeningJapanesePod101 02.07.202407:3302.07.202408:240:51:21No
1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @mscopuser ,

 

try to write a calculated column like:

total time per day and projects column =

CALCULATE(

   SUM(data[Duration]),

   ALLEXCEPT(data, data[project], data[start date])

)

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @mscopuser ,

 

Have a good day. Could you provide the expected output?

 

Best Regards,

Wearsky

Out put was amount per day in HH:NN:SS format. That has now been solved.

FreemanZ
Super User
Super User

hi @mscopuser ,

 

try to write a calculated column like:

total time per day and projects column =

CALCULATE(

   SUM(data[Duration]),

   ALLEXCEPT(data, data[project], data[start date])

)

This is the code I use here for ref.

Total Time Projects = CALCULATE(SUM('Table'[Duration]),ALLEXCEPT('Table', 'Table'[Projects], 'Table'[Start Date]))

Thank you, I have tried this and this works perfectly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.