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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Challenge to find total and avg time

Dear Experts,

 

Kindly help me to find the total and avg time for each engineer against the tickerts raised in a day.Also need to find the total working hours  in day against the std working of 9 hrs.

 

DateEngineer NameUser NameReported IssuesTime Taken to resolve the issue minutes
25-Nov-20Eng 1Usr 1Issue A20
25-Nov-20Eng 1Usr 2Issue B5
25-Nov-20Eng 1Usr 3Issue C60
26-Nov-20Eng 1Usr 1Issue A5
27-Nov-20Eng 1Usr 2Issue C15
25-Nov-20Eng 2Usr 1Issue A15
25-Nov-20Eng 2Usr 2Issue B20
25-Nov-20Eng 2Usr 3Issue C20
26-Nov-20Eng 2Usr 1Issue A10
27-Nov-20Eng 3Usr 2Issue C10
25-Nov-20Eng 3Usr 1Issue A10
25-Nov-20Eng 3Usr 2Issue B10
25-Nov-20Eng 3Usr 3Issue C5
26-Nov-20Eng 3Usr 1Issue A10
27-Nov-20Eng 3Usr 2Issue C10
25-Nov-20Eng 4Usr 1Issue A45
25-Nov-20Eng 4Usr 2Issue B20
25-Nov-20Eng 4Usr 3Issue C20
26-Nov-20Eng 4Usr 1Issue A10
27-Nov-20Eng 4Usr 2Issue C10
25-Nov-20Eng 5Usr 1Issue A45
25-Nov-20Eng 5Usr 2Issue B20
25-Nov-20Eng 5Usr 3Issue C20
26-Nov-20Eng 5Usr 1Issue A20
27-Nov-20Eng 5Usr 2Issue C20
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Is not

AverageTable[Time Taken to resolve])

 

and

Sum(Table[Time Taken to resolve])

 

should help

 

what is expected output

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
v-xulin-mstf
Community Support
Community Support

Hi @Anonymous,

 

Try measures as:

Total hours = 
CALCULATE(
    SUM('Table'[Time Taken to resolve the issue minutes])/60,
    FILTER(
        ALL('Table'),
        'Table'[Engineer Name]=MAX('Table'[Engineer Name])
    )
) 
Average hours = 
CALCULATE(
    AVERAGE('Table'[Time Taken to resolve the issue minutes])/60,
    FILTER(
        ALL('Table'),
        'Table'[Engineer Name]=MAX('Table'[Engineer Name]) 
    )
) 

Here is the output:

v-xulin-mstf_0-1614586779350.png

Here is the demo, please try it.

 

Best Regards,

Link

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Anonymous , Is not

AverageTable[Time Taken to resolve])

 

and

Sum(Table[Time Taken to resolve])

 

should help

 

what is expected output

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks @amitchandak ,

 

Yes i have done it.However i need this time(mins) to be convereted in hrs.From this hrs i need to understand total hrs of each engineer in month & date against the standard working hrs of 9hrs /day.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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