Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
pete_bolin
Contributor
Contributor

AGGR () by row

I need to calculate the difference between multiple dates by row, by ID. I used the AGGR() function to count the number dates within each ID's.  But now I need to calculate the difference, in days, between each date within each ID. Any help would be greatly appreciated! Cheers!

Capture.JPG

1 Reply
ogautier62
Specialist II
Specialist II

Hi,

take a look at function above()

could be something like : Date - above(Date)

with ID, Date as dimension

and if so count(ID) works, aggr not usefull

regards