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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
skaranth10
Helper I
Helper I

Finding Average time of the day

Hi,

I am trying to get the average of the time of the day an event occurs. Can you please guide me on how I can go about doing this? 

I have extracted the time from the datetime field. When I try to view it in the report, it just gives the option to see the Earliest/Latest time of the day, but not the Average time of the day.

Refer my screenshot for how the data looks in the Data tab. I want the Average of the PickupTimeHour.

 

I would really appreciate your help!

Capture.PNG

Thank you!

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Change your format to hh:nn:ss so it's 24 hour using the data tab. Then use the dax measure 

 

Measure = FORMAT(AVERAGE('Table'[PickupTimeHour]),"HH:MM:SS")

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Change your format to hh:nn:ss so it's 24 hour using the data tab. Then use the dax measure 

 

Measure = FORMAT(AVERAGE('Table'[PickupTimeHour]),"HH:MM:SS")

Thank you! 

Anonymous
Not applicable

@skaranth10 No problem. 

 

Please mark the solution as accepted. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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