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

SUM OF TIME column CALCULATION NOT WORKING

 

I am not able to aggregate the time , over the rows.

 

the aggr i am getting for below is 13.27 but ddefinitely it looks incorrect. the expression used to calculate is 

TIME DIFFERENCE AND AVERAGE.PNG

=IF(IsNull([collateral-valuation-completed]),0,
timestamp(timestamp([collateral-valuation-completed], 'DD/MM/YYYY hh:mm:ss')-timestamp(Min(HDR_TIMESTAMP), 'DD/MM/YYYY hh:mm:ss'),'hh:mm:ss')
)

 

how can i do SUM of this and average in separate expressions.

 

 

 
Labels (3)
1 Solution

Accepted Solutions
sunny_talwar

May be this

=Interval(

Sum(Aggr(If(IsNull([collateral-valuation-completed]), 0,
[collateral-valuation-completed] - Min(HDR_TIMESTAMP)), HDR_CORR_ID))

, 'hh:mm:ss')

View solution in original post

2 Replies
sunny_talwar

May be this

=Interval(

Sum(Aggr(If(IsNull([collateral-valuation-completed]), 0,
[collateral-valuation-completed] - Min(HDR_TIMESTAMP)), HDR_CORR_ID))

, 'hh:mm:ss')
paulista
Contributor III
Contributor III
Author

thanks sunny for being helpful always