Counting the last element of each aggregation

Hey Lukas,

The solution you proposed does get me the list of all of the last cs_uris for each session_id.

I've come up with a (better but not complete) solution where I manage to get the count split by tables but I can't order them.

The link to the post with the split table aggregation is:

Thanks for replying!