Ahh yes.. My question is how to create an aggregation query. I know that it has to do little with Perl (because I only created the report with Perl). Thought it was possible to ask it here. If questions other than Perl, are not allowed here, that's ok and sorry for that :)