cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TheLegendTamer Frequent Visitor
Frequent Visitor

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

Accepted Solutions
Moderator v-qiuyu-msft
Moderator

Re: Time in BI

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.
3 REPLIES 3
Moderator v-qiuyu-msft
Moderator

Re: Time in BI

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.
TheLegendTamer Frequent Visitor
Frequent Visitor

Re: Time in BI

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

Moderator v-qiuyu-msft
Moderator

Re: Time in BI

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
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Users Online
Currently online: 28 members 915 guests
Please welcome our newest community members: