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

aggr() to cal the time spent on project with last updated date value

Dear All,

i am stuck while cal. the time spent in a project with the last modified date value.

Ex

project idtimedatewant result Ouput
906:0016/01/20166:00
90 5:5515/01/2016
923:0023/01/2016

92

2:4013/01/2016
921:2030/01/20161:20

total will be 7:10.

in text box and pivot chart i want to show.

i tried

max(aggr(sum(time),project id,date)) but it doesn't gave correct value

Result 6:00+ 300=9:00

it add the max value rather considering on date

Thanks in Advance

swati

3 Replies
swatitomar
Contributor III
Contributor III
Author

it is unanswerred by mistaken chosen assumed answer.

kinldy help

sunny_talwar

Try this:

Sum(Aggr(FirstSortedValue(time, -date), [project id]))

MarcoWedel

Hi,

another solution without Aggr() might be:

QlikCommunity_Thread_249720_Pic1.JPG

QlikCommunity_Thread_249720_Pic2.JPG

hope this helps

regards

Marco