Hi, we try to build an multi year comparision report of sales data. We use an plain db connection as datasource. What will be the best way to solve the following task. 1. User selects an timeframe (e.g. current month) --> timeframe is used as parameter in report template call 2. Report should do the select on database (statement like) select timeframe, article_type, sum(netprice) as sales_volume, count(*) as order_count from ordertable where orderdate between... and ... group by timeframe, article_type 3. the report should now contain a list of sales_volume and order_count for the certain period and article_type and as a comparision for the same timeframe of the last year Something like this <article_type> <sales_volume_this_year> <order_count_this_year> | <sales_volume_last_year> <order_count_last_year> Any ideas? (best practice)... Thanks in advance Tom