Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Summing time values in a table

Hi all,

 

I am relatively new to Power BI and need help with the following:

I have a dataset in Excel that shows me why a machine was malfunctioning. For each malfunction, I have the reason for malfunctioning ("Reason), a starting time ("Van"), and an ending time ("Tot"). Based on those times, I calculate the duration in Excel as "Tot" minus "Van". The duration is of data type "time" (hh:mm:ss). See also the screenshot below.

 

I would like to produce a visual that aggregates the total malfunction time for each "Reason" (as in a PivotTable in Excel). In other words, for above screenshot, the resulting table would need to show this:

 

 

 

However, when I try to do that with a table visual in Power BI, this is what I get as a result. Does anyone know how to resolve this?

Thanks in advance!

3 Replies