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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Sum of Duration [hh:mm] format

Hi,

 

I'm a novice on Power BI (previous user of Tableau were I found the solution) and I wanna summarize the duration on hh:mm.

I received this morning some suggestions but I haven't found a solution so far.

Unfortunately I pressed the button to accept the solution instead of reply in the morning and the colleague who helped me with suggestions did not answer me after accepting it. I do not know how to make it still unsolved. 

The idea is that I have an excel file with the time (duration) per activity spent by some employee.

I wanna aggregate the time spent by employee per activity, month, weeks and days.

I was trying some DAX formulas but still not found the correct one.

Please find below my file.

The column Timp(h) is the one that I talking about.

 

Thanks in advance.

https://drive.google.com/file/d/1U-qXe3B01zKuhcQ37vLWUibfJVDumTbh/view?usp=sharing 

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

I looked at your file.  Since you have a Date column in your data, you can just create a simple DAX date table that has columns for Months, weeks, days. You then make a relationship between that new Date table and your data table on the date column.  You can then sum your Timp(h) column in a measure and analyze by month, week, day, etc.

 

Please see this link on making a simple Date table - https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

I can't access the file from my workplace, unfortunately, but I can tell you that such problems have been solved on these forums countless times... You just have to look for the right post.

Best
D

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.