Forum Discussion
SRK_23
7 years agoHelper I
Calculate Average time
Hi, how to calculate average time by "PlaformEntityName" ? I've got 3 calculated column which are: Duration_Max = CALCULATE( MAX(dm_pageview_company[Date]) ,
F...
AlB
7 years agoCommunity Champion
Hi SRK_23
If you wanted the result in the format Mins:secs instead, you could do something like:
AverageSessionTime_Mins_Secs =
VAR __AverageSessionTime=
AVERAGEX (
VALUES ( dm_pageview_company[Duration_Calc] );
dm_pageview_company[Duration_Calc]
)
RETURN
MINUTE(__AverageSessionTime) & ":" & SECOND(__AverageSessionTime)SRK_23
7 years agoHelper I
Thank you !