Forum Discussion
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.
Thanks
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")
Best Regards,
Qiuyun Yu
3 Replies
- v-qiuyu-msftCommunity 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")
Best Regards,
Qiuyun Yu- TheLegendTamerHelper I
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 Thanks
- v-qiuyu-msftCommunity Support
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