Vadim
I'm not questioning your right to have a 'more capable' query tool, but for
reports I use Pivot tables all the time 'through' MSQuery. These can very
simply be asked to include or exclude any dates contained in the underlying
data, either through inclusion/exclusion in a column or row field or
selection in a page field. Granted, sometimes getting the user to accept the
'usability of these tools is a 'step too far', but those provided in the
setups mentioned earlier have served me well for summarising sales reports
with many hundreds of thousands of underlying records with 30-40 fields.
Additionally, with a query set up as a parameter query, it is relatively
simple to retrieve a year for example in the external data, either from a
cell or user input to filter the output, both in the user interface and
programmatically
As I say, the tools are probably adequate for most uses, but I allow someone
else to offer a better 'tool'. There undoubtedly will be but I doubt it too
will be able to be easily worked by the user. (SQL for example has an OLAP
interface, but I would struggle to get it working, without the models being
pre-built)
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)