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

Time in BI

Hi,

 

Can someone please help....

 

I am trying to get average time format in BI Desktop but only comes up with eariest, latest or count.

 

Is there anyway to get minutes and seconds as an average as per my pics attached.

 

ThanksBI1.pngBI2.png

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @TheLegendTamer,

 

As the ASA(new) column is Time data type, the Average aggregation is not available by default. You can create a measure use Average() to achieve you requirement. 

 

Measure = FORMAT(AVERAGE(Table2[time]),"HH:MM: SS")

 

w4.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @TheLegendTamer,

 

As the ASA(new) column is Time data type, the Average aggregation is not available by default. You can create a measure use Average() to achieve you requirement. 

 

Measure = FORMAT(AVERAGE(Table2[time]),"HH:MM: SS")

 

w4.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply.

 

That has got me half way however, the time format in the new measure column is the same throughout the whole data showing as 00:00:29 where it should differ throughout each row.

 

It seems the new column is average(ing) the whole ASA column as a whole.

 

If that makes sense...

 

Many Thanksdoc3.png

Hi @TheLegendTamer,

 

It's expected. The Average() function in a calculated column returns the average (arithmetic mean) of all the numbers in a column. In your original post, you are trying to display average value in a card visual, the measure provided in my previous post can works. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.